[Mlir-commits] [mlir] [mlir] Add `[[lifetimebound]]` to Range classes. (PR #123091)
River Riddle
llvmlistbot at llvm.org
Wed Jan 15 09:32:33 PST 2025
================
@@ -74,8 +74,8 @@ class SuccessorRange final
public:
using RangeBaseT::RangeBaseT;
SuccessorRange();
- SuccessorRange(Block *block);
- SuccessorRange(Operation *term);
+ SuccessorRange(Block *block LLVM_LIFETIME_BOUND);
----------------
River707 wrote:
What's the value of adding it here? The address of these aren't taken.
https://github.com/llvm/llvm-project/pull/123091
More information about the Mlir-commits
mailing list