NFC: Update in-code documentation for function-type.
authorMLIR Team <no-reply@google.com>
Wed, 21 Aug 2019 23:50:55 +0000 (16:50 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 21 Aug 2019 23:51:54 +0000 (16:51 -0700)
PiperOrigin-RevId: 264723462

mlir/lib/Parser/Parser.cpp

index 4cac198..8506fb4 100644 (file)
@@ -605,7 +605,7 @@ Type Parser::parseExtendedType() {
 
 /// Parse a function type.
 ///
-///   function-type ::= type-list-parens `->` type-list
+///   function-type ::= type-list-parens `->` function-result-type
 ///
 Type Parser::parseFunctionType() {
   assert(getToken().is(Token::l_paren));