diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-01 17:25:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-01 17:25:47 +0000 |
commit | 2786864406af0f3ec65b300675c6f3c809c22fd7 (patch) | |
tree | 98572346a020d3f7f06f27f923489b2504d05b26 /lib/Parse/Parser.cpp | |
parent | 90566c0e7b61de9bdfdf66f6dee440adb4e5b631 (diff) |
Revert r126748, my second attempt at nested-name-specifier source
location information for elaborated types. *sigh*
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index ba3c03cdfb..3ed070321d 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -1091,9 +1091,7 @@ bool Parser::TryAnnotateTypeOrScopeToken(bool EnteringContext) { if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, false, - NextToken().is(tok::period), - ParsedType(), - /*NonTrivialTypeSourceInfo*/true)) { + NextToken().is(tok::period))) { // This is a typename. Replace the current token in-place with an // annotation type token. Tok.setKind(tok::annot_typename); |