how can I enable alpha/debug checker or my own checker

i write a new checker named test.NewChecker.it works in cmd:**clang -cc1 -analyze -analyzer-checker=**test.NewChecker test.c
but cmd:./scan-build --use-analyzer=/Users/tester/workspace/WeixinTest/clang/release3.2/build/Release+Asserts/bin/clang -o ~/Documents -enable-checker test.NewChecker xcodebuild -workspace /Users/tester/workspace/WeixinTest/workspace/PropMemFun/PropMemFun.xcodeproj/project.xcworkspace -scheme PropMemFun -sdk iphoneos6.1 build
not work
it seems that -enable-checker does not work because $Options->{“CCC_ANALYZER_ANALYSIS”} is not used .the code:

my $OutputDir = $Options->{“OUTPUT_DIR”};
my $CLANG = $Options->{“CLANG”};
push @$Args,
“RUN_CLANG_STATIC_ANALYZER=YES”,
“CLANG_ANALYZER_OUTPUT=plist-html”,
“CLANG_ANALYZER_EXEC=$CLANG”,
“CLANG_ANALYZER_OUTPUT_DIR=$OutputDir”;
return (system(@$Args) >> 8);

my question is :how can I enable alpha/debug checker or my own checker

Good catch. I’ll fix this soon…sorry!

Jordan

Ah, it looks like one of us already fixed this. Please update your Clang repository, or grab the scan-build from checker-275 at clang-analyzer.llvm.org.

Jordan