[Mlir-commits] [mlir] 467b3d0 - [mlir] Apply ClangTidyLegacy finding (NFC)

Adrian Kuegel llvmlistbot at llvm.org
Thu Jan 30 01:44:23 PST 2025


Author: Adrian Kuegel
Date: 2025-01-30T09:43:10Z
New Revision: 467b3d06c1fd072e8635278a88379b6eb483ae9c

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

LOG: [mlir] Apply ClangTidyLegacy finding (NFC)

virtual is redundant since the function is already declared override.

Added: 
    

Modified: 
    mlir/include/mlir/Target/LLVM/NVVM/Utils.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Target/LLVM/NVVM/Utils.h b/mlir/include/mlir/Target/LLVM/NVVM/Utils.h
index 2d6157b1e5a60d..ca4b6424a292c4 100644
--- a/mlir/include/mlir/Target/LLVM/NVVM/Utils.h
+++ b/mlir/include/mlir/Target/LLVM/NVVM/Utils.h
@@ -55,7 +55,7 @@ class SerializeGPUModuleBase : public LLVM::ModuleToObject {
   LogicalResult appendStandardLibs();
 
   /// Loads the bitcode files in `librariesToLink`.
-  virtual std::optional<SmallVector<std::unique_ptr<llvm::Module>>>
+  std::optional<SmallVector<std::unique_ptr<llvm::Module>>>
   loadBitcodeFiles(llvm::Module &module) override;
 
 protected:


        


More information about the Mlir-commits mailing list