forked from OSchip/llvm-project
Update 'return' statement syntax in LangRef to reflect the actual parsing syntax.
PiperOrigin-RevId: 222107722
This commit is contained in:
parent
21c30304a0
commit
1c95796372
|
@ -1094,7 +1094,7 @@ one can choose to apply MLFunctions when it is beneficial.
|
|||
Syntax:
|
||||
|
||||
``` {.ebnf}
|
||||
return-stmt ::= `return` ssa-use-and-type-list?
|
||||
return-stmt ::= `return` (ssa-use-list `:` type-list-no-parens)?
|
||||
```
|
||||
|
||||
The arity and operand types of the return statement must match the result of the
|
||||
|
|
Loading…
Reference in New Issue