diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-05 03:47:48 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-05 03:47:48 +0000 |
commit | a160671c579b6db38dfc4072baa99d4ad1d4300c (patch) | |
tree | 09845961750d59761d3b47e69f2ddb7a2db00bd6 /lib/Parse/ParseExpr.cpp | |
parent | 96dcadec26244e028d59287ea1b249802c8fc2bc (diff) |
Correct the grammar for __builtin_astype.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 4f45114aaa..f77d8eaf2a 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -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 |