summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-04-05 23:50:14 +0000
committerAnna Zaks <ganna@apple.com>2013-04-05 23:50:14 +0000
commita4fdefffd03713e89d1223f4f03be4e70d245907 (patch)
tree296c508189739480930dcb49e62dd5432c122c22 /clang/lib/StaticAnalyzer
parent94b48bdbbab33f9b79991ea5f2aa789b5763cea6 (diff)
downloadbcm5719-llvm-a4fdefffd03713e89d1223f4f03be4e70d245907.tar.gz
bcm5719-llvm-a4fdefffd03713e89d1223f4f03be4e70d245907.zip
[analyzer] Remove another redundancy from trackNullOrUndef
llvm-svn: 178934
Diffstat (limited to 'clang/lib/StaticAnalyzer')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
index 536064e1ad4..4ffdc6afa4a 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+++ b/clang/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 =
OpenPOWER on IntegriCloud