[PATCH] D39220: [Analyzer] Store BodyFarm in std::unique_ptr

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 16:15:37 PDT 2017


alexfh added inline comments.


================
Comment at: include/clang/Analysis/AnalysisDeclContext.h:424
   /// methods during the analysis.
-  BodyFarm *BdyFrm = nullptr;
+  std::unique_ptr<BodyFarm> BdyFrm;
 
----------------
BdyFrm is somewhat cryptic. Maybe Farm, Bodies or something else that  is not so weirdly abbreviated?


https://reviews.llvm.org/D39220





More information about the cfe-commits mailing list