diff options
author | Anna Zaks <ganna@apple.com> | 2011-08-31 23:53:24 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-08-31 23:53:24 +0000 |
commit | 71f11d6a393c185b8896d3f6a4089ef93d340d00 (patch) | |
tree | f8272421c5d37a7eae5f4a03aef90195e8821929 | |
parent | 3269197675c14a02c757f7f7852039e5be5122fe (diff) |
[analyzer] Revert a regression introduced in r133104(The ARC Migration Tool..) due to a merge error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138919 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | tools/scan-build/ccc-analyzer | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index 383210fc2f..7793a8db49 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -365,9 +365,11 @@ my %LangMap = ( '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 @@ if ($Action eq 'compile' or $Action eq 'link') { 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; |