]> granicus.if.org Git - clang/commit
Introduce DeclaratorInfo and TypeLoc, intended to be used for storing and reading...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Aug 2009 01:27:32 +0000 (01:27 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Aug 2009 01:27:32 +0000 (01:27 +0000)
commitb17166c8077cd900cca83a895c43b30ea6660598
tree90b8da7dcff7f09dbdf395d1aea436bfeb9799b9
parent7d878eb7f340a6995bd3414ba6cbdfcfdb1e8a76
Introduce DeclaratorInfo and TypeLoc, intended to be used for storing and reading source information for types.

DeclaratorInfo will contain a flat memory block for source information about a type that came out of a declarator.
TypeLoc and its subclasses will be used by clients as wrappers to "traverse" the memory block and read the information.

Both DeclaratorInfo and TypeLoc are not utilized in this commit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79391 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/AST/TypeLoc.h [new file with mode: 0644]
include/clang/AST/TypeLocNodes.def [new file with mode: 0644]
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/AST/TypeLoc.cpp [new file with mode: 0644]