[cfe-commits] r148612 - /cfe/trunk/utils/analyzer/SATestBuild.py

Anna Zaks ganna at apple.com
Fri Jan 20 17:11:35 PST 2012


Author: zaks
Date: Fri Jan 20 19:11:35 2012
New Revision: 148612

URL: http://llvm.org/viewvc/llvm-project?rev=148612&view=rev
Log:
[analyzer] Unbreak the static analyzer bot. Regression from r148558.

When we build a single source file, we call clang directly (not though scan-build).

Modified:
    cfe/trunk/utils/analyzer/SATestBuild.py

Modified: cfe/trunk/utils/analyzer/SATestBuild.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/SATestBuild.py?rev=148612&r1=148611&r2=148612&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Fri Jan 20 19:11:35 2012
@@ -171,7 +171,7 @@
         raise Exception()       
 
     CmdPrefix = "clang -cc1 -analyze -analyzer-output=plist -w "
-    CmdPrefix += "-enable-checker " + Checkers +" -fcxx-exceptions -fblocks "   
+    CmdPrefix += "-analyzer-checker=" + Checkers +" -fcxx-exceptions -fblocks "   
     
     PlistPath = os.path.join(Dir, SBOutputDir, "date")
     FailPath = os.path.join(PlistPath, "failures");





More information about the cfe-commits mailing list