forked from OSchip/llvm-project
[mlir] Fix a missing override warning
This patch fixes: mlir/lib/Dialect/Tosa/Transforms/TosaOptionalDecompositions.cpp:28:8: error: 'runOnFunction' overrides a member function but is not marked 'override' [-Werror,-Wsuggest-override]
This commit is contained in:
parent
4edb9983cb
commit
0ceb332a76
|
@ -25,7 +25,7 @@ namespace {
|
|||
|
||||
struct TosaOptionalDecompositions
|
||||
: public TosaOptionalDecompositionsBase<TosaOptionalDecompositions> {
|
||||
void runOnFunction() {
|
||||
void runOnFunction() override {
|
||||
auto *ctx = &getContext();
|
||||
RewritePatternSet patterns(ctx);
|
||||
auto func = getFunction();
|
||||
|
|
Loading…
Reference in New Issue