NFC: Call into the base Dialect::addOperations instead of reimplementing it
This allows for hiding the internal implementation details which can be subject to change. PiperOrigin-RevId: 334876826 Change-Id: Ieb326c6e338f096678fdd94d23093a82ffbf2e77
This commit is contained in:
parent
d3b1a1313c
commit
55cadd046b
@ -113,8 +113,7 @@ class TensorFlowDialect : public Dialect {
|
||||
// same interface.
|
||||
template <typename... Args>
|
||||
void addOperations() {
|
||||
(void)std::initializer_list<int>{
|
||||
0, (addOperation(AbstractOperation::get<Args>(*this)), 0)...};
|
||||
Dialect::addOperations<Args...>();
|
||||
}
|
||||
|
||||
using ConstantFoldHook = LogicalResult (*)(Operation *, ArrayRef<Attribute>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user