commit | 1ad4dd78ec53c24ea9e752b216035d7aa666fe49 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Feb 16 14:28:33 2009 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Feb 16 14:28:33 2009 +0000 |
tree | 96399a6bfd7972a5c62eaecd47e185880e43c577 | |
parent | 9af5e6737db0af6b9c6a722c55ac43115c14add9 [diff] |
Make DeclContexts maintenance a bit easier. -In DeclNodes.def, only mark as DeclContexts the top classes that directly derive from DeclContext. If the Decl has subclasses, it should be marked with DECL_CONTEXT_BASE. -Use DeclNodes.def to automate the DeclContext::classof and DeclContext::CastTo definitions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64629 91177308-0d34-0410-b5e6-96231b3b80d8