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/Sema/SemaExprCXX.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/Sema/SemaExprCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index b660c311d8f..d5b0afa4f61 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -543,7 +543,6 @@ ExprResult Sema::ActOnCXXTypeConstructExpr(ParsedType TypeRep, SourceLocation LParenLoc, MultiExprArg exprs, - SourceLocation *CommaLocs, SourceLocation RParenLoc) { if (!TypeRep) return ExprError(); @@ -2847,7 +2846,6 @@ ExprResult Sema::DiagnoseDtorReference(SourceLocation NameLoc, MemExpr, /*LPLoc*/ ExpectedLParenLoc, MultiExprArg(), - /*CommaLocs*/ 0, /*RPLoc*/ ExpectedLParenLoc); } |

