diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-01 22:22:54 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-01 22:22:54 +0000 |
| commit | d8701b60f785a778947c32bc1b1a6bc620a3194f (patch) | |
| tree | e19e175865eed9da1de093977a6bf8db1103784d /clang/lib/Parse | |
| parent | 7451d1cd001d261395f65877d2d03fe5a4969bd9 (diff) | |
| download | bcm5719-llvm-d8701b60f785a778947c32bc1b1a6bc620a3194f.tar.gz bcm5719-llvm-d8701b60f785a778947c32bc1b1a6bc620a3194f.zip | |
-Remove Sema::ActOnCastOfParenListExpr and move most of its functionality to
newly introduced Sema::BuildVectorLiteral.
-Make Sema::ActOnCastExpr handle a vector initializer both when the cast'ed expression
is a ParenListExpr and when it is a ParenExpr.
-Ultimately make Sema::ActOnParenOrParenListExpr independent of what the cast type was.
llvm-svn: 134274
Diffstat (limited to 'clang/lib/Parse')
| -rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index 0c6f3c6037e..bd723f0325f 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -1900,7 +1900,7 @@ Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr, if (!ParseExpressionList(ArgExprs, CommaLocs)) { ExprType = SimpleExpr; Result = Actions.ActOnParenOrParenListExpr(OpenLoc, Tok.getLocation(), - move_arg(ArgExprs), TypeOfCast); + move_arg(ArgExprs)); } } else { InMessageExpressionRAIIObject InMessage(*this, false); |

