[clang] [analyzer] Avoid out-of-order node traversal on void return (PR #117863)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 04:42:06 PST 2024
================
@@ -278,7 +278,9 @@ class ExplodedNode : public llvm::FoldingSetNode {
/// Useful for explaining control flow that follows the current node.
/// If the statement belongs to a body-farmed definition, retrieve the
/// call site for that definition.
- const Stmt *getNextStmtForDiagnostics() const;
+ /// If skipPurge is true, skip the purge-dead-symbols nodes (that are often
+ /// inserted out-of-order by the endinge).
+ const Stmt *getNextStmtForDiagnostics(bool skipPurge) const;
----------------
necto wrote:
Here you go: 674befcae4b8 skipPurge unconditionally
https://github.com/llvm/llvm-project/pull/117863
More information about the cfe-commits
mailing list