[Mlir-commits] [mlir] 00951bf - [mlir] Remove redundant virtual keyword. NFC

Adrian Kuegel llvmlistbot at llvm.org
Mon Jan 30 23:19:37 PST 2023


Author: Adrian Kuegel
Date: 2023-01-31T08:18:51+01:00
New Revision: 00951bf02db986b4bfabf678f2d67427ac92453b

URL: https://github.com/llvm/llvm-project/commit/00951bf02db986b4bfabf678f2d67427ac92453b
DIFF: https://github.com/llvm/llvm-project/commit/00951bf02db986b4bfabf678f2d67427ac92453b.diff

LOG: [mlir] Remove redundant virtual keyword. NFC

Found by ClangTidyLegacy check.

Added: 
    

Modified: 
    mlir/include/mlir/IR/OperationSupport.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OperationSupport.h b/mlir/include/mlir/IR/OperationSupport.h
index 003029d6db94..da95260508cb 100644
--- a/mlir/include/mlir/IR/OperationSupport.h
+++ b/mlir/include/mlir/IR/OperationSupport.h
@@ -153,7 +153,7 @@ class OperationName {
                            SmallVectorImpl<OpFoldResult> &) final;
     void getCanonicalizationPatterns(RewritePatternSet &, MLIRContext *) final;
     bool hasTrait(TypeID) final;
-    virtual OperationName::ParseAssemblyFn getParseAssemblyFn() final;
+    OperationName::ParseAssemblyFn getParseAssemblyFn() final;
     void populateDefaultAttrs(const OperationName &, NamedAttrList &) final;
     void printAssembly(Operation *, OpAsmPrinter &, StringRef) final;
     LogicalResult verifyInvariants(Operation *) final;


        


More information about the Mlir-commits mailing list