aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/InterfaceFile.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-08-30 15:05:29 +0200
committerMatthias Springer <me@m-sp.org>2023-08-30 15:26:47 +0200
commit0ac21e654f194a0f7c9f5afe42e11924c546f89e (patch)
tree7a0dfbcb06d9dd92bce54585e0ae38da283a2ab6 /llvm/lib/TextAPI/InterfaceFile.cpp
parenteb27be95a4c648707ad93e48049b3d463260a747 (diff)
downloadllvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.zip
llvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.tar.gz
llvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.tar.bz2
[mlir][IR] SingleBlockImplicitTerminator: Declare "inherited" trait in ODS instead of C++
`SingleBlockImplicitTerminator` is now a combination of two traits: `SingleBlock` and `SingleBlockImplicitTerminatorImpl` (the original `SingleBlockImplicitTerminator`). This change makes it possible to check if the `SingleBlock` op trait is implemented. Until now, `Operation::hasTrait<OpTrait::SingleBlock>()` returned `false` for ops that implement `SingleBlockImplicitTerminator`. Differential Revision: https://reviews.llvm.org/D159078
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions