[clang] Introduce intra-procedural lifetime analysis in Clang (PR #142313)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 13 11:16:08 PDT 2025
================
@@ -0,0 +1,728 @@
+#include "clang/Analysis/Analyses/LifetimeSafety.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/Expr.h"
+#include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
+#include "clang/Analysis/AnalysisDeclContext.h"
+#include "clang/Analysis/CFG.h"
+#include "clang/Analysis/FlowSensitive/DataflowWorklist.h"
+#include "llvm/ADT/ImmutableMap.h"
+#include "llvm/ADT/ImmutableSet.h"
+#include "llvm/ADT/PointerUnion.h"
+#include "llvm/ADT/SmallVector.h"
+#include "llvm/Support/Debug.h"
+#include "llvm/Support/TimeProfiler.h"
+#include <vector>
+
+namespace clang {
+namespace {
+
+struct Point {
----------------
usx95 wrote:
I removed `Point` at the moment. I think this can be added later when this actually looks useful. At the moment it is primarily mapping Facts to CFGStmt which is not used.
https://github.com/llvm/llvm-project/pull/142313
More information about the cfe-commits
mailing list