[llvm-bugs] [Bug 25399] Can not find my own write checker
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 13 04:48:24 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25399
Kirill Bobyrev <kirillbobyrev at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |kirillbobyrev at gmail.com
Resolution|--- |INVALID
--- Comment #2 from Kirill Bobyrev <kirillbobyrev at gmail.com> ---
Seems that you've done everything right while registering the checker.
Generally to verify that a checker is available you'd do `clang -cc1
-analyzer-checker-help | grep "your_checker_name"`, see
http://clang-analyzer.llvm.org/checker_dev_manual.html
As Anna pointed out, you'd want to pass the built clang to the scan-build with
--use-analyzer, because otherwise it uses /usr/bin/clang.
By the way, you probably also want to call
{LLVM_SOURCE_DIR}/tools/clang/tools/scan-build/scan-build instead the one in
system, because it contains the most relevant patches :)
Thus said, I do not see a bug here.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151113/4cb502ec/attachment.html>
More information about the llvm-bugs
mailing list