Have scan-build control default analyses.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53654 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 98e083d..8f342ec 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -135,10 +135,8 @@
# Set the analyzer flag.
analysis_type = os.environ.get('CCC_ANALYZER_ANALYSIS')
- if analysis_type is not None:
- analysis_type = "-" + analysis_type
- else:
- analysis_type = "-warn-dead-stores -checker-cfref -warn-objc-methodsigs"
+ if analysis_type is None:
+ analysis_type = "-checker-cfref"
# Determine the level of verbosity.
if os.environ.get('CCC_ANALYZER_VERBOSE') is not None: