[clang] [LifetimeSafety] Add support for tracking temporary objects (PR #172007)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 14 01:23:58 PST 2025
================
@@ -41,6 +41,12 @@ static const PathLoan *createLoan(FactManager &FactMgr,
return nullptr;
}
+static const PathLoan *createLoan(FactManager &FactMgr,
----------------
usx95 wrote:
Please add a function comment.
/// Creates a loan for the storage location of a temporary object.
/// \param BTE The CXXBindTemporaryExpr that represents the temporary binding.
/// \return The new Loan.
https://github.com/llvm/llvm-project/pull/172007
More information about the cfe-commits
mailing list