r182881 - Turn CLANG_ENABLE_{ARCMT, REWRITER, STATIC_ANALYZER} into proper options so that

Roman Divacky rdivacky at freebsd.org
Wed May 29 14:37:08 PDT 2013


On Wed, May 29, 2013 at 02:15:34PM -0700, Jordan Rose wrote:
> 
> On May 29, 2013, at 14:09 , Roman Divacky <rdivacky at freebsd.org> wrote:
> 
> > +if (NOT CLANG_ENABLE_REWRITER AND CLANG_ENABLE_STATIC_ANALYZER)
> > +  message(FATAL_ERROR "Cannot disable rewriter while enabling static analyzer")
> > +endif()
> 
> The analyzer shouldn't depend on the rewriter. What dependency are you seeing?

It does, check lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp.

Roman



More information about the cfe-commits mailing list