Static Analyzer driver/options (partial) cleanup:
- Move all analyzer options logic to AnalysisConsumer.cpp.
- Unified specification of stores/constraints/output to be:
-analyzer-output=...
-analyzer-store=...
-analyzer-constraints=...
instead of -analyzer-range-constraints, -analyzer-store-basic, etc.
- Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new
interface
- Updated test cases to conform to new driver options
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64737 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py
index 5da2de2..dc1678e 100644
--- a/tools/ccc/ccclib/Tools.py
+++ b/tools/ccc/ccclib/Tools.py
@@ -221,7 +221,7 @@
'-warn-objc-missing-dealloc',
'-warn-objc-unused-ivars'])
- cmd_args.append('-analyzer-output-plist')
+ cmd_args.append('-analyzer-output=plist')
# Add -Xanalyzer arguments when running as analyzer.
for arg in arglist.getArgs(arglist.parser.XanalyzerOption):