[clang] [llvm] [LifetimeSafety] Reorganize code into modular components (PR #162474)

Utkarsh Saxena via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 9 15:02:25 PDT 2025


================
@@ -0,0 +1,85 @@
+//===- LifetimeSafety.h - C++ Lifetime Safety Analysis -*----------- C++-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the entry point for a dataflow-based static analysis
----------------
usx95 wrote:

Oops. Looks like a copy paste mistake.

LifetimeSafety.h is the entry point and the orchestrator of the components of the analysis.
Checker.h is essentially defines and enforces a lifetimes policy.

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


More information about the llvm-commits mailing list