[Analyzer] Give more descriptive name to BdyFrm field.
Discussion at: https://reviews.llvm.org/D39220 llvm-svn: 316617
This commit is contained in:
parent
d3aa475988
commit
134d8473ef
|
@ -421,7 +421,7 @@ class AnalysisDeclContextManager {
|
|||
|
||||
/// Pointer to a factory for creating and caching implementations for common
|
||||
/// methods during the analysis.
|
||||
std::unique_ptr<BodyFarm> BdyFrm;
|
||||
std::unique_ptr<BodyFarm> FunctionBodyFarm;
|
||||
|
||||
/// Flag to indicate whether or not bodies should be synthesized
|
||||
/// for well-known functions.
|
||||
|
|
|
@ -305,9 +305,9 @@ AnalysisDeclContext *AnalysisDeclContextManager::getContext(const Decl *D) {
|
|||
}
|
||||
|
||||
BodyFarm *AnalysisDeclContextManager::getBodyFarm() {
|
||||
if (!BdyFrm)
|
||||
BdyFrm = llvm::make_unique<BodyFarm>(ASTCtx, Injector.get());
|
||||
return BdyFrm.get();
|
||||
if (!FunctionBodyFarm)
|
||||
FunctionBodyFarm = llvm::make_unique<BodyFarm>(ASTCtx, Injector.get());
|
||||
return FunctionBodyFarm.get();
|
||||
}
|
||||
|
||||
const StackFrameContext *
|
||||
|
|
Loading…
Reference in New Issue