]> granicus.if.org Git - clang/commit
Clone the full Type hierarchy into the TypeLoc hierarchy. Normalize
authorJohn McCall <rjmccall@apple.com>
Sun, 18 Oct 2009 01:05:36 +0000 (01:05 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 18 Oct 2009 01:05:36 +0000 (01:05 +0000)
commit51bd803fbdade51d674598ed45da3d54190a656c
tree6a0f7a2881033be64625cb432e7b7e96eb0729fa
parenta47dd191719e88e41ce82555685869d2054178e1
Clone the full Type hierarchy into the TypeLoc hierarchy.  Normalize
TypeLoc class names to be $(Type classname)Loc.  Rewrite the visitor.
Provide skeleton implementations for all the new TypeLocs.

Handle all cases in PCH.  Handle a few more cases when inserting
location information in SemaType.

It should be extremely straightforward to add new location information
to existing TypeLoc objects now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84386 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/TypeLoc.h
include/clang/AST/TypeLocNodes.def
include/clang/AST/TypeLocVisitor.h
include/clang/Index/ASTLocation.h
lib/AST/Decl.cpp
lib/AST/TypeLoc.cpp
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
lib/Index/ASTLocation.cpp
lib/Index/ASTVisitor.h
lib/Index/DeclReferenceMap.cpp
lib/Index/ResolveLocation.cpp
lib/Sema/SemaType.cpp