================
@@ -78,8 +78,10 @@ class Argument final : public Value {
/// Return true if this argument has the byval attribute.
LLVM_ABI bool hasByValAttr() const;
- /// Return true if this argument has the dead_on_return attribute.
- LLVM_ABI bool hasDeadOnReturnAttr() const;
+ /// Return the number of bytes marked dead by the dead_on_return attribute.
+ /// If no count was specified (implying all memory reachable through the
+ /// pointer is marked dead on return), std::nullopt is returned.
----------------
boomanaiden154 wrote:
Updated. Left over from an older version of the patch before `DeadOnReturnInfo`.
https://github.com/llvm/llvm-project/pull/171712
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits