diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-04-30 22:00:04 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-04-30 22:00:04 +0000 |
commit | 40ebe3dac227cebd47a0518fa30273cfc98358c7 (patch) | |
tree | 2027799da72a4714198da240f33a4d80f41b57b9 /tools | |
parent | 8f4bdc0e37b4b24a58a15ecf41d1355a3b3fdcbb (diff) |
[analyzer] scan-build: support -enable-checker with new Xcode integration.
<rdar://problem/13772094>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/scan-build/scan-build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 32eecc079e..2b07d6b6bc 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -931,11 +931,13 @@ sub RunXcodebuild { if ($oldBehavior == 0) { my $OutputDir = $Options->{"OUTPUT_DIR"}; my $CLANG = $Options->{"CLANG"}; + my $OtherFlags = $Options->{"CCC_ANALYZER_ANALYSIS"}; push @$Args, "RUN_CLANG_STATIC_ANALYZER=YES", "CLANG_ANALYZER_OUTPUT=plist-html", "CLANG_ANALYZER_EXEC=$CLANG", - "CLANG_ANALYZER_OUTPUT_DIR=$OutputDir"; + "CLANG_ANALYZER_OUTPUT_DIR=$OutputDir", + "CLANG_ANALYZER_OTHER_FLAGS=$OtherFlags"; return (system(@$Args) >> 8); } |