[cfe-commits] r138919 - /cfe/trunk/tools/scan-build/ccc-analyzer

Anna Zaks ganna at apple.com
Wed Aug 31 16:53:25 PDT 2011


Author: zaks
Date: Wed Aug 31 18:53:24 2011
New Revision: 138919

URL: http://llvm.org/viewvc/llvm-project?rev=138919&view=rev
Log:
[analyzer] Revert a regression introduced in r133104(The ARC Migration Tool..) due to a merge error.

Modified:
    cfe/trunk/tools/scan-build/ccc-analyzer

Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=138919&r1=138918&r2=138919&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Wed Aug 31 18:53:24 2011
@@ -365,9 +365,11 @@
   'cp'  => 'c++',
   'cpp' => 'c++',
   'cc'  => 'c++',
+  'ii'  => 'c++',
   'i'   => 'c-cpp-output',
   'm'   => 'objective-c',
-  'mi'  => 'objective-c-cpp-output'
+  'mi'  => 'objective-c-cpp-output',
+  'mm'  => 'objective-c++'
 );
 
 my %UniqueOptions = (
@@ -618,9 +620,9 @@
       push @AnalyzeArgs, "-analyzer-constraints=$ConstraintsModel";
     }
     
-#    if (defined $Analyses) {
-#      push @AnalyzeArgs, split '\s+', $Analyses;
-#    }
+    if (defined $Analyses) {
+      push @AnalyzeArgs, split '\s+', $Analyses;
+    }
 
     if (defined $OutputFormat) {
       push @AnalyzeArgs, "-analyzer-output=" . $OutputFormat;





More information about the cfe-commits mailing list