]> granicus.if.org Git - clang/commit
Push nested-name-specifier source location information into
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 Mar 2011 01:34:45 +0000 (01:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 Mar 2011 01:34:45 +0000 (01:34 +0000)
commit2494dd024b392b8def58bf067cc94b51c214cf77
treeaea420ed3f1ec2a060a2192097bad0728f1eb689
parent7636d8853f4b96be2fa394eb59047ccad37efa4c
Push nested-name-specifier source location information into
DependentNameTypeLoc. Teach the recursive AST visitor and libclang how to
walk DependentNameTypeLoc nodes.

Also, teach libclang about TypedefDecl source ranges, so that we get
those. The massive churn in test/Index/recursive-cxx-member-calls.cpp
is a good thing: we're annotating a lot more of this test correctly
now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126729 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/TypeLoc.h
lib/AST/TypeLoc.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Index/annotate-nested-name-specifier.cpp
test/Index/recursive-cxx-member-calls.cpp
test/SemaCXX/nested-name-spec-locations.cpp
tools/libclang/CIndex.cpp