diff options
| author | Ted Kremenek <kremenek@apple.com> | 2011-10-24 01:32:45 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2011-10-24 01:32:45 +0000 |
| commit | 81ce1c8a998a14ea42da1d429d50f9df7e350a8b (patch) | |
| tree | f0c86a9bb88c44b1913c6113578158698e77baa3 /clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp | |
| parent | 1700007eccf408aa39652792718ce939af9a45e6 (diff) | |
| download | bcm5719-llvm-81ce1c8a998a14ea42da1d429d50f9df7e350a8b.tar.gz bcm5719-llvm-81ce1c8a998a14ea42da1d429d50f9df7e350a8b.zip | |
Rename AnalysisContext to AnalysisDeclContext. Not only is this name more accurate, but it frees up the name AnalysisContext for other uses.
llvm-svn: 142782
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp b/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp index 17ec70d39b9..72aed742374 100644 --- a/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp +++ b/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp @@ -66,8 +66,8 @@ AnalysisManager::AnalysisManager(ASTContext &ctx, DiagnosticsEngine &diags, } -AnalysisContext * -AnalysisManager::getAnalysisContextInAnotherTU(const Decl *D) { +AnalysisDeclContext * +AnalysisManager::getAnalysisDeclContextInAnotherTU(const Decl *D) { idx::Entity Ent = idx::Entity::get(const_cast<Decl *>(D), Idxer->getProgram()); FunctionDecl *FuncDef; @@ -77,7 +77,7 @@ AnalysisManager::getAnalysisContextInAnotherTU(const Decl *D) { if (FuncDef == 0) return 0; - // This AnalysisContext wraps function definition in another translation unit. + // This AnalysisDeclContext wraps function definition in another translation unit. // But it is still owned by the AnalysisManager associated with the current // translation unit. return AnaCtxMgr.getContext(FuncDef, TU); |

