r180812 - [analyzer] scan-build: support -enable-checker with new Xcode integration.
Jordan Rose
jordan_rose at apple.com
Tue Apr 30 15:00:04 PDT 2013
Author: jrose
Date: Tue Apr 30 17:00:04 2013
New Revision: 180812
URL: http://llvm.org/viewvc/llvm-project?rev=180812&view=rev
Log:
[analyzer] scan-build: support -enable-checker with new Xcode integration.
<rdar://problem/13772094>
Modified:
cfe/trunk/tools/scan-build/scan-build
Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=180812&r1=180811&r2=180812&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Tue Apr 30 17:00:04 2013
@@ -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);
}
More information about the cfe-commits
mailing list