[cfe-commits] r125599 - in /cfe/trunk: include/clang/Frontend/AnalyzerOptions.h lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Tue Feb 15 13:25:07 PST 2011


Author: akirtzidis
Date: Tue Feb 15 15:25:07 2011
New Revision: 125599

URL: http://llvm.org/viewvc/llvm-project?rev=125599&view=rev
Log:
[analyzer] Remove ObjCSelfInitCheck from AnalyzerOptions.

Modified:
    cfe/trunk/include/clang/Frontend/AnalyzerOptions.h
    cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

Modified: cfe/trunk/include/clang/Frontend/AnalyzerOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/AnalyzerOptions.h?rev=125599&r1=125598&r2=125599&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/AnalyzerOptions.h (original)
+++ cfe/trunk/include/clang/Frontend/AnalyzerOptions.h Tue Feb 15 15:25:07 2011
@@ -70,7 +70,6 @@
   unsigned AnalyzerStats : 1;
   unsigned EagerlyAssume : 1;
   unsigned IdempotentOps : 1;
-  unsigned ObjCSelfInitCheck : 1;
   unsigned BufferOverflows : 1;
   unsigned PurgeDead : 1;
   unsigned TrimGraph : 1;
@@ -95,7 +94,6 @@
     AnalyzerStats = 0;
     EagerlyAssume = 0;
     IdempotentOps = 0;
-    ObjCSelfInitCheck = 0;
     BufferOverflows = 0;    
     PurgeDead = 1;
     TrimGraph = 0;

Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp?rev=125599&r1=125598&r2=125599&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp Tue Feb 15 15:25:07 2011
@@ -354,9 +354,6 @@
   if (C.Opts.EnableExperimentalChecks)
     RegisterExperimentalChecks(Eng);
 
-  if (C.Opts.ObjCSelfInitCheck && isa<ObjCMethodDecl>(D))
-    registerObjCSelfInitChecker(Eng);
-
   // Enable idempotent operation checking if it was explicitly turned on, or if
   // we are running experimental checks (i.e. everything)
   if (C.Opts.IdempotentOps || C.Opts.EnableExperimentalChecks





More information about the cfe-commits mailing list