[Mlir-commits] [mlir] d4f47f2 - [mlir] Apply ClangTidy fix (NFC)

Adrian Kuegel llvmlistbot at llvm.org
Mon Aug 14 03:15:19 PDT 2023


Author: Adrian Kuegel
Date: 2023-08-14T12:14:12+02:00
New Revision: d4f47f292ea5f40c0ad0f2acacd4efa37928363c

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

LOG: [mlir] Apply ClangTidy fix (NFC)

virtual is redundant if method is final.

Added: 
    

Modified: 
    mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp b/mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp
index 6396ddef523037..621d82e0300588 100644
--- a/mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp
+++ b/mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp
@@ -51,7 +51,7 @@ class LoadDependentDialectExtension : public DialectExtensionBase {
   }
 
   /// Return a copy of this extension.
-  virtual std::unique_ptr<DialectExtensionBase> clone() const final {
+  std::unique_ptr<DialectExtensionBase> clone() const final {
     return std::make_unique<LoadDependentDialectExtension>(*this);
   }
 };


        


More information about the Mlir-commits mailing list