]> granicus.if.org Git - clang/commit
Decl::getTranslationUnitDecl() should return itself when the Decl is a TranslationUni...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 30 Jun 2009 02:34:53 +0000 (02:34 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 30 Jun 2009 02:34:53 +0000 (02:34 +0000)
commit9b34669c672e776a24616eb01cffcf7061356d26
tree893a8451cc4251349d8370c3b52800ca93b16836
parent40b598eea1310ec9ed554d56ce3e25b34c585458
Decl::getTranslationUnitDecl() should return itself when the Decl is a TranslationUnitDecl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74502 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclBase.cpp