| 72 | } |
| 73 | |
| 74 | Expect<void> FormChecker::validate(AST::InstrView Instrs, |
| 75 | Span<const ValType> RetVals) { |
| 76 | for (const ValType &Val : RetVals) { |
| 77 | Returns.push_back(Val); |
| 78 | } |
| 79 | return checkExpr(Instrs); |
| 80 | } |
| 81 | |
| 82 | Expect<void> FormChecker::validate(const ValType &VT) const noexcept { |
| 83 | // The value type should be validated for the type index case. |
nothing calls this directly
no test coverage detected