r178934 - [analyzer] Remove another redundancy from trackNullOrUndef
Anna Zaks
ganna at apple.com
Fri Apr 5 16:50:14 PDT 2013
Author: zaks
Date: Fri Apr 5 18:50:14 2013
New Revision: 178934
URL: http://llvm.org/viewvc/llvm-project?rev=178934&view=rev
Log:
[analyzer] Remove another redundancy from trackNullOrUndef
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp?rev=178934&r1=178933&r2=178934&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp Fri Apr 5 18:50:14 2013
@@ -932,12 +932,6 @@ bool bugreporter::trackNullOrUndefValue(
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 =
More information about the cfe-commits
mailing list