[Mlir-commits] [mlir] b1d1f57 - Apply clang-tidy fixes for modernize-use-override in SerializeToLLVMBitcode.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sun Feb 25 17:05:55 PST 2024


Author: Mehdi Amini
Date: 2024-02-25T17:05:30-08:00
New Revision: b1d1f5786fc24fa538b064e7b27f07a1765fce35

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

LOG: Apply clang-tidy fixes for modernize-use-override in SerializeToLLVMBitcode.cpp (NFC)

Added: 
    

Modified: 
    mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp b/mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp
index 69c9d9b2f32020..94bc9b6da6cf6c 100644
--- a/mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp
+++ b/mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp
@@ -32,7 +32,7 @@ using namespace mlir;
 
 class MLIRTargetLLVM : public ::testing::Test {
 protected:
-  virtual void SetUp() {
+  void SetUp() override {
     llvm::InitializeNativeTarget();
     llvm::InitializeNativeTargetAsmPrinter();
   }


        


More information about the Mlir-commits mailing list