thakis added a comment.

In D57127#1371563 <https://reviews.llvm.org/D57127#1371563>, @george.karpenkov 
wrote:

> > Also, isn't lib/Analysis a strange place for this? lib/Analysis is used by 
> > the compiler proper (CodeGen, Sema, …), while RetainSummaryManager is only 
> > used by tooling-like things (static analyzer, arcmigrate).
>
> Not only, it has utilities used by the static analyzer which are too generic 
> to be in the static analyzer itself - ProgramPoint.cpp, BodyFarm.cpp, 
> CocoaConventions.cpp to name a few.


ProgramPoint.cpp and BodyFarm.cpp are used by StaticAnalyzer/Core, which the 
compiler itself uses for CFG-based warnings. Sema also uses CocoaConventions.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57127/new/

https://reviews.llvm.org/D57127



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to