http://llvm.org/bugs/show_bug.cgi?id=8202
Ted Kremenek <kreme...@apple.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kreme...@apple.com Resolution| |INVALID --- Comment #1 from Ted Kremenek <kreme...@apple.com> 2010-09-22 12:50:01 CDT --- (In reply to comment #0) > When I run "clang --analyze" on my c++ source files individually I get > reports, > but none when using the scan-build tool. This is intended behavior. C++ support is still alpha and so it isn't enabled by default in scan-build. It's really only intended to be used by those currently hacking on the analyzer. If you want to enable C++ analysis, you must define the environment variable CCC_ANALYZER_CPLUSPLUS. It works with 'clang --analyze' because that's not intended to be a public way to use the analyzer. It should probably be disabled there as well. In the future that flag may go away as the analyzer evolves to do cross-file analysis. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs