[clang] [analyzer] Skip LifetimeEnd nodes in getNextStmtForDiagnostics (PR #228045)
Benedek Kaibas via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 28 15:00:11 PST 2026
================
@@ -9,9 +9,9 @@ void clang_analyzer_warnIfReached();
void testPathNotesWithLoopScopeEnd() {
int *p = nullptr;
for (int i = 0; i < 3; ++i) {
- // expected-note at -1 3 {{Loop condition is true. Entering loop body}}
+ // expected-note at -1 3 {{Loop condition is true; entering loop body}}
----------------
benedekaibas wrote:
To match the diags of the CSA I made the changes of removing the old style of writing these diags.
https://github.com/llvm/llvm-project/pull/228045
More information about the cfe-commits
mailing list