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/ParseDecl.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/ParseDecl.cpp')
| -rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index cf0cc9c4aa2..fedfba82ef0 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -650,7 +650,7 @@ Decl *Parser::ParseDeclarationAfterDeclarator(Declarator &D, Actions.AddCXXDirectInitializerToDecl(ThisDecl, LParenLoc, move_arg(Exprs), - CommaLocs.data(), RParenLoc); + RParenLoc); } } else { bool TypeContainsUndeducedAuto = |

