]> granicus.if.org Git - clang/commitdiff
Correct the grammar for __builtin_astype.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 5 Nov 2011 03:47:48 +0000 (03:47 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 5 Nov 2011 03:47:48 +0000 (03:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143777 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseExpr.cpp

index 4f45114aaa51a6b8923e0e1be646c0f9727560ab..f77d8eaf2a18f39b714459040dcede77cbee94c6 100644 (file)
@@ -1582,7 +1582,7 @@ ExprResult Parser::ParseUnaryExprOrTypeTraitExpression() {
 /// [GNU]   '__builtin_choose_expr' '(' assign-expr ',' assign-expr ','
 ///                                     assign-expr ')'
 /// [GNU]   '__builtin_types_compatible_p' '(' type-name ',' type-name ')'
-/// [OCL]   '__builtin_astype' '(' type-name expr ')'
+/// [OCL]   '__builtin_astype' '(' assignment-expression ',' type-name ')'
 ///
 /// [GNU] offsetof-member-designator:
 /// [GNU]   identifier