summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-04 06:12:32 +0000
committerChris Lattner <sabre@nondot.org>2008-04-04 06:12:32 +0000
commitc5ffed4a66c7d586deb16f741dc41b8ae16c2e55 (patch)
tree2a8fe831594557649a77d6a5d04dd8dcb8e7edd7 /clang/lib/CodeGen
parent318d3ef88e3ae765ffa5b9d5b477a1b2bf41d371 (diff)
downloadbcm5719-llvm-c5ffed4a66c7d586deb16f741dc41b8ae16c2e55.tar.gz
bcm5719-llvm-c5ffed4a66c7d586deb16f741dc41b8ae16c2e55.zip
Introduce ContextDecl, patch by Argiris Kirtzidis!
-Added ContextDecl (no TranslationUnitDecl) -ScopedDecl class has a ContextDecl member -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context. -Moved Decl class to a "DeclBase.h" along with ContextDecl class -CurContext is handled by Sema llvm-svn: 49208
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud