diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2012-01-27 08:46:19 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2012-01-27 08:46:19 +0000 |
commit | fad03b75e0297546c5d12ec420b5b79d5b7baa2a (patch) | |
tree | 64f6514d5a04dba7d42d824dcaa6ab38230e0782 /lib/Parse/Parser.cpp | |
parent | 8b4f2b754e6f3ae758bfff4ee9fd797181911101 (diff) |
Avoid redundant NNS qualification in constructor/destructor names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 7f7fdf7c44..da1424c6b1 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -1279,6 +1279,7 @@ bool Parser::TryAnnotateTypeOrScopeToken(bool EnteringContext, bool NeedType) { &SS, false, NextToken().is(tok::period), ParsedType(), + /*IsCtorOrDtorName=*/false, /*NonTrivialTypeSourceInfo*/true, NeedType ? &CorrectedII : NULL)) { // A FixIt was applied as a result of typo correction |