[clang] [LifetimeSafety] Suggest lifetime annotations (PR #169767)
Kashika Akhouri via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 5 00:30:26 PST 2025
================
@@ -34,46 +34,116 @@ struct AccessPath {
AccessPath(const clang::ValueDecl *D) : D(D) {}
};
-/// Information about a single borrow, or "Loan". A loan is created when a
-/// reference or pointer is created.
-struct Loan {
+/// An abstract base class for a single "Loan" which represents a lifetime
+/// dependency.
----------------
kashika0112 wrote:
Done
https://github.com/llvm/llvm-project/pull/169767
More information about the cfe-commits
mailing list