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

Jordan Rose jordan_rose at apple.com
Wed May 29 14:38:26 PDT 2013


On May 29, 2013, at 14:37 , Roman Divacky <rdivacky at freebsd.org> wrote:

> 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.

Ah, the HTMLDiagnostics...forgot about those. Okay, carry on!

Jordan



More information about the cfe-commits mailing list