diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-05-15 10:41:04 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-05-15 10:41:04 +0000 |
| commit | 57c4f648d1944d5e02f5fade13348cbb504505b3 (patch) | |
| tree | 6bbf735412ee23b5eedac659c78b1506d8a48715 /clang/lib | |
| parent | 09653330bca7b9894401271879bf62ceda6c03c3 (diff) | |
| download | bcm5719-llvm-57c4f648d1944d5e02f5fade13348cbb504505b3.tar.gz bcm5719-llvm-57c4f648d1944d5e02f5fade13348cbb504505b3.zip | |
[index] Store correct location for namespace nested name qualifiers
rdar://32195200
llvm-svn: 303046
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Index/IndexTypeSourceInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/IndexTypeSourceInfo.cpp b/clang/lib/Index/IndexTypeSourceInfo.cpp index e9ca651e002..ae27ebe6ea4 100644 --- a/clang/lib/Index/IndexTypeSourceInfo.cpp +++ b/clang/lib/Index/IndexTypeSourceInfo.cpp @@ -212,7 +212,7 @@ void IndexingContext::indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, if (!DC) DC = Parent->getLexicalDeclContext(); - SourceLocation Loc = NNS.getSourceRange().getBegin(); + SourceLocation Loc = NNS.getLocalBeginLoc(); switch (NNS.getNestedNameSpecifier()->getKind()) { case NestedNameSpecifier::Identifier: |

