[cfe-dev] [analyzer] -analyzer-output=text in scan-build

Alexander Droste via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 5 11:20:59 PDT 2015


Thanks for your answer! Is there a reason why this is not
activated in any case by default when the analyzer is invoked?

Apart from that, maybe this option could be integrated into the new
scan-build script?  (reviews.llvm.org/D9600)
If there's interest, I could provide a patch to the
script currently hosted on GitHub: https://github.com/rizsotto/Beye.

-Alex


On 05.10.15 07:42, Anna Zaks wrote:
> There is no scan-build option that supports it right now. However, it would be trivial to add. $Options{OutputFormat} variable is used to set the value of "-analyzer-output".
>
> Anna.
>> On Oct 2, 2015, at 1:49 PM, Alexander Droste via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>>
>> Hi,
>>
>> it is possible, to somehow pass the -analyzer-output=text flag
>> to scan-build, in order to activate tracing diagnostics
>> for the command line output? This would be handy, as the scan-build
>> script eases the static analyzer use for nontrivial build setups
>> and -analyzer-output=text provides information about traced paths
>> of implementations defined in headers which are not presented in the
>> html output.
>>
>> -Alex
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list