]> granicus.if.org Git - clang/commit
Phase 2 of making the Decl class more lightweight...
authorSteve Naroff <snaroff@apple.com>
Thu, 13 Sep 2007 21:41:19 +0000 (21:41 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 13 Sep 2007 21:41:19 +0000 (21:41 +0000)
commit8e74c93ddaa8268a999e1b25c723dc1984a434b4
tree953d578ce23989102964d2b980e4940657f5571c
parent7d6402f753916a82d93ef0bf0f703ae4243a52be
Phase 2 of making the Decl class more lightweight...

Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl.

Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41934 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Decl.cpp
CodeGen/CGExpr.cpp
CodeGen/CodeGenModule.cpp
CodeGen/CodeGenModule.h
Driver/ASTStreamers.cpp
Sema/Sema.h
Sema/SemaDecl.cpp
Sema/SemaStmt.cpp
include/clang/AST/Decl.h
include/clang/AST/Expr.h
include/clang/AST/Stmt.h