[llvm-branch-commits] [clang] [analyzer] Turn on CFGLifetimeEnds elements by default (PR #228228)
Balázs Benics via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 13 04:47:24 PDT 2026
================
@@ -67,21 +67,22 @@ int main() {
// FIXME: On steps 8 and 14, a decomposition is referred by name, which they never have.
// CHECK-LABEL: int main()
-// CHECK: [B3]
+// CHECK: [B4]
----------------
steakhal wrote:
Just to be explicit - I had the assumption that Lifetime ends markers won't create new basicblocks (BBs) because they pair with object creations, thus with DeclStmts, and by definition, both of these sit in the same BB.
So I'm still confused about how we can have a BB with only lifetime ends there? This still appears to be wrong.
https://github.com/llvm/llvm-project/pull/228228
More information about the llvm-branch-commits
mailing list