[PATCH] D41751: [analyzer] [NFS] Minor refactoring of trackNullOrUndefValue
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 18:22:13 PST 2018
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
Neat, thank you!
================
Comment at: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:992-993
+/// Walk through nodes until we get one that matches the statement exactly.
+/// Alternately, if we hit a known lvalue for the statement, we know we've
+/// gone too far (though we can likely track the lvalue better anyway).
+static const ExplodedNode* findNodeForStatement(const ExplodedNode *N,
----------------
It seems that the code that corresponds to this comment is long gone.
https://reviews.llvm.org/D41751
More information about the cfe-commits
mailing list