Author: george.karpenkov Date: Wed Oct 25 14:49:41 2017 New Revision: 316617
URL: http://llvm.org/viewvc/llvm-project?rev=316617&view=rev Log: [Analyzer] Give more descriptive name to BdyFrm field. Discussion at: https://reviews.llvm.org/D39220 Modified: cfe/trunk/include/clang/Analysis/AnalysisDeclContext.h cfe/trunk/lib/Analysis/AnalysisDeclContext.cpp Modified: cfe/trunk/include/clang/Analysis/AnalysisDeclContext.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/AnalysisDeclContext.h?rev=316617&r1=316616&r2=316617&view=diff ============================================================================== --- cfe/trunk/include/clang/Analysis/AnalysisDeclContext.h (original) +++ cfe/trunk/include/clang/Analysis/AnalysisDeclContext.h Wed Oct 25 14:49:41 2017 @@ -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. Modified: cfe/trunk/lib/Analysis/AnalysisDeclContext.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/AnalysisDeclContext.cpp?rev=316617&r1=316616&r2=316617&view=diff ============================================================================== --- cfe/trunk/lib/Analysis/AnalysisDeclContext.cpp (original) +++ cfe/trunk/lib/Analysis/AnalysisDeclContext.cpp Wed Oct 25 14:49:41 2017 @@ -305,9 +305,9 @@ AnalysisDeclContext *AnalysisDeclContext } 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 * _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits