]> granicus.if.org Git - clang/commitdiff
[analyzer] Remove another redundancy from trackNullOrUndef
authorAnna Zaks <ganna@apple.com>
Fri, 5 Apr 2013 23:50:14 +0000 (23:50 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 5 Apr 2013 23:50:14 +0000 (23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178934 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

index 536064e1ad4a9e1381ea3ad93c705f30344bc722..4ffdc6afa4a437f858588612e6bfaa55dbada5c1 100644 (file)
@@ -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 =