projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58efd9
)
Fix build breakage
author
David Majnemer
<david.majnemer@gmail.com>
Mon, 29 Dec 2014 23:24:27 +0000
(23:24 +0000)
committer
David Majnemer
<david.majnemer@gmail.com>
Mon, 29 Dec 2014 23:24:27 +0000
(23:24 +0000)
That's what I get for last second changes...
llvm-svn: 224967
clang/lib/Parse/ParseExprCXX.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Parse/ParseExprCXX.cpp
b/clang/lib/Parse/ParseExprCXX.cpp
index
a6162e2
..
f101d9f
100644
(file)
--- a/
clang/lib/Parse/ParseExprCXX.cpp
+++ b/
clang/lib/Parse/ParseExprCXX.cpp
@@
-448,7
+448,8
@@
bool Parser::ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
// like we never saw it.
Token Identifier = Tok; // Stash away the identifier.
ConsumeToken(); // Eat the identifier, current token is now '::'.
- Diag(PP.getLocForEndOfTokenConsumeToken(), diag::err_expected) << tok::identifier;
+ Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected)
+ << tok::identifier;
UnconsumeToken(Identifier); // Stick the identifier back.
Next = NextToken(); // Point Next at the '{' token.
}