We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c94be commit ab86fc7Copy full SHA for ab86fc7
mlir/include/mlir/IR/MLIRContext.h
@@ -133,7 +133,7 @@ class MLIRContext {
133
Dialect *getOrLoadDialect(StringRef name);
134
135
/// Return true if we allow to create operation for unregistered dialects.
136
- bool allowsUnregisteredDialects();
+ [[nodiscard]] bool allowsUnregisteredDialects();
137
138
/// Enables creating operations in unregistered dialects.
139
/// This option is **heavily discouraged**: it is convenient during testing
0 commit comments