Discussion at: https://reviews.llvm.org/D39220
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316617
91177308-0d34-0410-b5e6-
96231b3b80d8
/// 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.
}
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 *