Add memory lifetime verification support for borrow accessors

This commit is contained in:
Meghana Gupta
2025-10-30 12:47:10 -07:00
parent d50aa8ad87
commit 21cc1a185b
7 changed files with 157 additions and 38 deletions

View File

@@ -3155,6 +3155,10 @@ public:
return getSubstCalleeConv().hasGuaranteedResult();
}
bool hasGuaranteedAddressResult() const {
return getSubstCalleeConv().hasGuaranteedAddressResult();
}
bool hasAddressResult() const {
return getSubstCalleeConv().hasAddressResult();
}