]> granicus.if.org Git - clang/commit
Introduce DeclaratorDecl and pass DeclaratorInfo through the Decl/Sema interfaces.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Aug 2009 01:27:57 +0000 (01:27 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Aug 2009 01:27:57 +0000 (01:27 +0000)
commita1d5662d96465f0fddf8819d245da4d19b892eff
tree9ff1110267d35480a09c28d629a3437bfebdf556
parentb17166c8077cd900cca83a895c43b30ea6660598
Introduce DeclaratorDecl and pass DeclaratorInfo through the Decl/Sema interfaces.

DeclaratorDecl contains a DeclaratorInfo* to keep type source info.
Subclasses of DeclaratorDecl are FieldDecl, FunctionDecl, and VarDecl.
EnumConstantDecl still inherits from ValueDecl since it has no need for DeclaratorInfo.

Decl/Sema interfaces accept a DeclaratorInfo as parameter but no DeclaratorInfo is created yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79392 91177308-0d34-0410-b5e6-96231b3b80d8
24 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/AST/DeclNodes.def
include/clang/AST/DeclObjC.h
include/clang/AST/DeclTemplate.h
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/AST/DeclCXX.cpp
lib/AST/DeclObjC.cpp
lib/AST/DeclTemplate.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGObjCMac.cpp
lib/Frontend/PCHReaderDecl.cpp
lib/Frontend/RewriteObjC.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaTemplateInstantiateStmt.cpp
lib/Sema/SemaType.cpp