Selaa lähdekoodia

[analyzer] Remove another redundancy from trackNullOrUndef

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178934 91177308-0d34-0410-b5e6-96231b3b80d8
Anna Zaks 12 vuotta sitten
vanhempi
commit
ea7b481aa8
1 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  1. 0 6
      lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

+ 0 - 6
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

@@ -932,12 +932,6 @@ bool bugreporter::trackNullOrUndefValue(const ExplodedNode *N,
       report.markInteresting(V);
       report.addVisitor(new UndefOrNullArgVisitor(R));
 
-      if (isa<SymbolicRegion>(R)) {
-        TrackConstraintBRVisitor *VI =
-          new TrackConstraintBRVisitor(loc::MemRegionVal(R), false);
-        report.addVisitor(VI);
-      }
-
       // If the contents are symbolic, find out when they became null.
       if (V.getAsLocSymbol()) {
         BugReporterVisitor *ConstraintTracker =