[cfe-commits] r89040 - /cfe/trunk/tools/clang-cc/Options.cpp

Daniel Dunbar daniel at zuster.org
Mon Nov 16 21:05:08 PST 2009


Author: ddunbar
Date: Mon Nov 16 23:05:08 2009
New Revision: 89040

URL: http://llvm.org/viewvc/llvm-project?rev=89040&view=rev
Log:
Move InitializeAnalyzerOptions for consistency.

Modified:
    cfe/trunk/tools/clang-cc/Options.cpp

Modified: cfe/trunk/tools/clang-cc/Options.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/Options.cpp?rev=89040&r1=89039&r2=89040&view=diff

==============================================================================
--- cfe/trunk/tools/clang-cc/Options.cpp (original)
+++ cfe/trunk/tools/clang-cc/Options.cpp Mon Nov 16 23:05:08 2009
@@ -124,25 +124,6 @@
 
 }
 
-void clang::InitializeAnalyzerOptions(AnalyzerOptions &Opts) {
-  using namespace analyzeroptions;
-  Opts.AnalysisList = AnalysisList;
-  Opts.AnalysisStoreOpt = AnalysisStoreOpt;
-  Opts.AnalysisConstraintsOpt = AnalysisConstraintsOpt;
-  Opts.AnalysisDiagOpt = AnalysisDiagOpt;
-  Opts.VisualizeEGDot = VisualizeEGDot;
-  Opts.VisualizeEGUbi = VisualizeEGUbi;
-  Opts.AnalyzeAll = AnalyzeAll;
-  Opts.AnalyzerDisplayProgress = AnalyzerDisplayProgress;
-  Opts.PurgeDead = PurgeDead;
-  Opts.EagerlyAssume = EagerlyAssume;
-  Opts.AnalyzeSpecificFunction = AnalyzeSpecificFunction;
-  Opts.EnableExperimentalChecks = AnalyzerExperimentalChecks;
-  Opts.EnableExperimentalInternalChecks = AnalyzerExperimentalInternalChecks;
-  Opts.TrimGraph = TrimGraph;
-}
-
-
 //===----------------------------------------------------------------------===//
 // Code Generation Options
 //===----------------------------------------------------------------------===//
@@ -807,6 +788,24 @@
 // Option Object Construction
 //===----------------------------------------------------------------------===//
 
+void clang::InitializeAnalyzerOptions(AnalyzerOptions &Opts) {
+  using namespace analyzeroptions;
+  Opts.AnalysisList = AnalysisList;
+  Opts.AnalysisStoreOpt = AnalysisStoreOpt;
+  Opts.AnalysisConstraintsOpt = AnalysisConstraintsOpt;
+  Opts.AnalysisDiagOpt = AnalysisDiagOpt;
+  Opts.VisualizeEGDot = VisualizeEGDot;
+  Opts.VisualizeEGUbi = VisualizeEGUbi;
+  Opts.AnalyzeAll = AnalyzeAll;
+  Opts.AnalyzerDisplayProgress = AnalyzerDisplayProgress;
+  Opts.PurgeDead = PurgeDead;
+  Opts.EagerlyAssume = EagerlyAssume;
+  Opts.AnalyzeSpecificFunction = AnalyzeSpecificFunction;
+  Opts.EnableExperimentalChecks = AnalyzerExperimentalChecks;
+  Opts.EnableExperimentalInternalChecks = AnalyzerExperimentalInternalChecks;
+  Opts.TrimGraph = TrimGraph;
+}
+
 void clang::InitializeCodeGenOptions(CodeGenOptions &Opts,
                                      const LangOptions &Lang,
                                      bool TimePasses) {





More information about the cfe-commits mailing list