[clang] [clang] Trigger checkLifetimeEnd callback from CFGLifetimeEnds element (PR #201123)

Arseniy Zaostrovnykh via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 07:27:50 PDT 2026


================
@@ -217,6 +217,11 @@ void ProgramPoint::printJson(llvm::raw_ostream &Out, const char *NL) const {
         << castAs<LoopExit>().getLoopStmt()->getStmtClassName() << '\"';
     break;
 
+  case ProgramPoint::LifetimeEndKind:
+    Out << "LifetimeEnd\", \"var\": \""
+        << castAs<LifetimeEnd>().getDecl()->getNameAsString() << '\"';
+    break;
----------------
necto wrote:

c7f7b3cd8f25 az/lifetime-end Handle the new enumeration value


https://github.com/llvm/llvm-project/pull/201123


More information about the cfe-commits mailing list