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/ParseExprCXX.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/ParseExprCXX.cpp')
-rw-r--r-- | clang/lib/Parse/ParseExprCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp index 99ebfadf82b..e8b921b8f7f 100644 --- a/clang/lib/Parse/ParseExprCXX.cpp +++ b/clang/lib/Parse/ParseExprCXX.cpp @@ -742,7 +742,7 @@ Parser::ParseCXXTypeConstructExpression(const DeclSpec &DS) { assert((Exprs.size() == 0 || Exprs.size()-1 == CommaLocs.size())&& "Unexpected number of commas!"); return Actions.ActOnCXXTypeConstructExpr(TypeRep, LParenLoc, move_arg(Exprs), - CommaLocs.data(), RParenLoc); + RParenLoc); } /// ParseCXXCondition - if/switch/while condition expression. |