]> granicus.if.org Git - clang/commit
Teach NestedNameSpecifier to keep track of namespace aliases the same
authorDouglas Gregor <dgregor@apple.com>
Thu, 24 Feb 2011 02:36:08 +0000 (02:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 24 Feb 2011 02:36:08 +0000 (02:36 +0000)
commit14aba76042e041b2c5e439bf4ae353a0a3c7fd73
tree24ceb91083f8338851116693cc4dad8257d4dc9c
parent8102fae66df9834662d1c51ee5b91f908c419bdf
Teach NestedNameSpecifier to keep track of namespace aliases the same
way it keeps track of namespaces. Previously, we would map from the
namespace alias to its underlying namespace when building a
nested-name-specifier, losing source information in the process.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126358 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/AST/NestedNameSpecifier.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/Sema/DeclSpec.h
lib/AST/ASTContext.cpp
lib/AST/ItaniumMangle.cpp
lib/AST/NestedNameSpecifier.cpp
lib/Frontend/DocumentXML.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
tools/libclang/CIndex.cpp