[PATCH] D62883: [analyzer] Track conditions of terminator statements on which the reported node depends on
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 16 16:16:29 PDT 2019
Szelethus marked 8 inline comments as done.
Szelethus added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1850
+
+ return const_cast<CFGBlock *>(Node->getLocationContext()
+ ->getAnalysisDeclContext()->getCFGStmtMap()->getBlock(S));
----------------
xazax.hun wrote:
> Why do we need a ptr to non-const CFGBlock?
`llvm::IDFCalculator` takes the blocks as a non-const pointer.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62883/new/
https://reviews.llvm.org/D62883
More information about the cfe-commits
mailing list