commit | ef177820100ab583b08fd3056e2a5a52ee4b1629 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Apr 17 14:40:12 2008 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Apr 17 14:40:12 2008 +0000 |
tree | 14282d5187bbc1083390174abf161b6cd5155bd2 | |
parent | 5da6b2592fbf69708a7863b41d8bd76440d0f41b [diff] |
Addition of TranslationUnitDecl to the AST: -Added TranslationUnitDecl class to serve as top declaration context -ASTContext gets a TUDecl member and a getTranslationUnitDecl() function -All ScopedDecls get the TUDecl as DeclContext when declared at global scope git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49855 91177308-0d34-0410-b5e6-96231b3b80d8