[clang] Adding use-after-return in Lifetime Analysis (PR #165370)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 30 12:28:25 PDT 2025
================
@@ -44,6 +44,8 @@ class Fact {
Use,
/// A marker for a specific point in the code, for testing.
TestPoint,
+ OriginEscapes,
+ // An origin that stores a loan escapes the function.
----------------
usx95 wrote:
Wording suggestion: /// Indicates that an origin escapes the function scope (e.g., via return).
https://github.com/llvm/llvm-project/pull/165370
More information about the cfe-commits
mailing list