[cfe-commits] r143777 - /cfe/trunk/lib/Parse/ParseExpr.cpp
Peter Collingbourne
peter at pcc.me.uk
Fri Nov 4 20:47:48 PDT 2011
Author: pcc
Date: Fri Nov 4 22:47:48 2011
New Revision: 143777
URL: http://llvm.org/viewvc/llvm-project?rev=143777&view=rev
Log:
Correct the grammar for __builtin_astype.
Modified:
cfe/trunk/lib/Parse/ParseExpr.cpp
Modified: cfe/trunk/lib/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExpr.cpp?rev=143777&r1=143776&r2=143777&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExpr.cpp Fri Nov 4 22:47:48 2011
@@ -1582,7 +1582,7 @@
/// [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
More information about the cfe-commits
mailing list