[clang] [CIR] Add CxxCTorAttr, CxxDTorAttr, CxxAssignAttr, CxxSpecialMemberAttr to cir::FuncOp (PR #167975)
Hendrik Hübner via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 18 07:01:50 PST 2025
HendrikHuebner wrote:
> > > In general it would be nice to have more helper methods on operation and attributes like `isCtor`, `isMoveCtor` etc.
> >
> >
> > Should I add this to the `extraClassDefinitions` of `FuncOp` in CIROps.td?
>
> Yes, that would be probably best.
Already done :)
(Although slightly differently)
https://github.com/llvm/llvm-project/pull/167975
More information about the cfe-commits
mailing list