diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-04 06:12:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-04 06:12:32 +0000 |
commit | c5ffed4a66c7d586deb16f741dc41b8ae16c2e55 (patch) | |
tree | 2a8fe831594557649a77d6a5d04dd8dcb8e7edd7 /clang/lib/CodeGen | |
parent | 318d3ef88e3ae765ffa5b9d5b477a1b2bf41d371 (diff) | |
download | bcm5719-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