[Mlir-commits] [clang] [llvm] [mlir] [IRBuilder] Remove custom insertion point type (PR #228117)
Nikita Popov
llvmlistbot at llvm.org
Fri Oct 2 03:23:53 PDT 2026
================
@@ -65,6 +65,9 @@ class iterator_parent_access<IteratorTy, ParentTy, true> {
template <class IteratorTy, class ParentTy>
class iterator_parent_access<IteratorTy, ParentTy, false> {
public:
+ inline const ParentTy *getNodeParent() const {
+ return static_cast<const IteratorTy *>(this)->NodePtr->getParent();
+ }
----------------
nikic wrote:
Rebased and dropped no longer necessary const_casts.
https://github.com/llvm/llvm-project/pull/228117
More information about the Mlir-commits
mailing list