[Mlir-commits] [mlir] [MLIR][IR] Rename `Block::hasTerminator` to `mightHaveTerminator` (PR #66870)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Wed Sep 20 10:21:51 PDT 2023


================
@@ -215,7 +215,7 @@ class Block : public IRObjectWithUseList<BlockOperand>,
   Operation *getTerminator();
 
   /// Check whether this block has a terminator.
----------------
ftynse wrote:

Nit: make sure the comment reflects the new function logic.

https://github.com/llvm/llvm-project/pull/66870


More information about the Mlir-commits mailing list