]> granicus.if.org Git - clang/commit
Hoist some branches in AnalysisManager::HandleTranslationUnit so we
authorTed Kremenek <kremenek@apple.com>
Sat, 26 Sep 2009 04:15:09 +0000 (04:15 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 26 Sep 2009 04:15:09 +0000 (04:15 +0000)
commit74e3c92aa3eb1750ac2eb89994046eb69db39100
treec139566fcd8f2dfe26d525d365052287065e8ea1
parent5b3a2fcd8038f27e2278f64be2c6a3beb6fae8b6
Hoist some branches in AnalysisManager::HandleTranslationUnit so we
avoid scanning for an "entry point" FunctionDecl if we (a) have no
translation unit actions and (b) no entry point function has been
specified.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/AnalysisConsumer.cpp