diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-09 16:33:13 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-09 16:33:13 +0000 |
commit | ce5aa333856179657efad38ff8e6e4d548ebb557 (patch) | |
tree | 716f0422db269691219fc3a1cf6a7d7db4c927bb /clang/lib/Parse/ParseExpr.cpp | |
parent | a90e25cc64af69866d6a47312448317f5ad8672b (diff) | |
download | bcm5719-llvm-ce5aa333856179657efad38ff8e6e4d548ebb557.tar.gz bcm5719-llvm-ce5aa333856179657efad38ff8e6e4d548ebb557.zip |
Eliminate the comma locations from all of the Sema routines that deal
with comma-separated lists. We never actually used the comma
locations, nor did we store them in the AST, but we did manage to
waste time during template instantiation to produce fake locations.
llvm-svn: 113495
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index 6a7c72304c8..0268a27b170 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -1023,8 +1023,7 @@ Parser::ParsePostfixExpressionSuffix(ExprResult LHS) { assert((ArgExprs.size() == 0 || ArgExprs.size()-1 == CommaLocs.size())&& "Unexpected number of commas!"); LHS = Actions.ActOnCallExpr(getCurScope(), LHS.take(), Loc, - move_arg(ArgExprs), CommaLocs.data(), - Tok.getLocation()); + move_arg(ArgExprs), Tok.getLocation()); } ConsumeParen(); |