[cfe-dev] Clang Static Analyzer: how to use it for C++ application?
Liang Qi
cavendish.qi at gmail.com
Tue Apr 26 15:18:28 PDT 2011
Hi, Ted,
Thanks a lot. I got this output for my dummy project,
http://pastebin.com/egyx90t3
Yes, I also set this env:
export CCC_CXX="clang++"
And could you do me a favor once more? How could I enable the checker
for "cplusplus.experimental.Iterators" in this scan-build/cmake
context?
Best Regards,
Liang
On 26 April 2011 23:03, Ted Kremenek <kremenek at apple.com> wrote:
> Example of running it on the LLVM codebase:
>
> $ mkdir llvm-cmake
> $ cd llvm-cmake
> $ scan-build cmake -G "Unix Makefiles" ~/llvm
> ...
> $ scan-build make
--
http://www.qiliang.net
More information about the cfe-dev
mailing list