commit | d358600db540bf90f686c91145cf422f122822f0 | [log] [tgz] |
---|---|---|
author | Argiris Kirtzidis <akyrtzi@gmail.com> | Thu Apr 17 14:40:12 2008 +0000 |
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | Thu Apr 17 14:40:12 2008 +0000 |
tree | 14282d5187bbc1083390174abf161b6cd5155bd2 | |
parent | 2d22f4e78f7d42d8e70087c9ea995268f0f6dc9c [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