[cfe-dev] clang-cl with analyzer-output=text

Artem Dergachev via cfe-dev cfe-dev at lists.llvm.org
Fri Feb 9 05:49:41 PST 2018


Hmm. It seems that -Xclang works just fine, you can use that instead of 
-Xanalyzer. I've no idea why do we need to have so many of those, also 
it's shorter.

On 2/8/18 11:39 PM, Matthew Del Buono via cfe-dev wrote:
> Hi all,
>
> With clang-cl I can use the --analyze argument to run static analysis, 
> but it seems -Xanalyzer is not recognized. So normally I'd pass 
> -Xanalyzer -analyzer-output=text to get the additional flow 
> information, but it's not permitted.
>
> Is there a way to get clang-cl to pass the -analyzer-output=text 
> option to the analyzer? If not, is this just because nobody's gotten 
> around to it? (I'd be more than happy to work on a patch if there 
> isn't a reason for it not to be there.)
>
> Thanks,
> -- Matthew P. Del Buono
>
>
> _______________________________________________
> 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