]> granicus.if.org Git - clang/commitdiff
[analyzer] Remove ObjCSelfInitCheck from AnalyzerOptions.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 Feb 2011 21:25:07 +0000 (21:25 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 Feb 2011 21:25:07 +0000 (21:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125599 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/AnalyzerOptions.h
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

index f3805978d858f6ab8bdf222126ba59a0e3c1c9f8..cd6b908d78221bf1ae6bb4d7e4d80057374722e8 100644 (file)
@@ -70,7 +70,6 @@ public:
   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 @@ public:
     AnalyzerStats = 0;
     EagerlyAssume = 0;
     IdempotentOps = 0;
-    ObjCSelfInitCheck = 0;
     BufferOverflows = 0;    
     PurgeDead = 1;
     TrimGraph = 0;
index 56475c55919d1953ea951858268e348b1595ef70..bbd7c6a5b3deb809020328894e3475135a96d76c 100644 (file)
@@ -354,9 +354,6 @@ static void ActionExprEngine(AnalysisConsumer &C, AnalysisManager& mgr,
   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