[llvm] 62c64be - Apply clang-tidy fixes for modernize-use-equals-default in InputFile.cpp (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 09:19:11 PDT 2022


Author: Kazu Hirata
Date: 2022-03-28T09:18:23-07:00
New Revision: 62c64be4d3bf8d9db0e386b4c73c53956a47ea99

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

LOG: Apply clang-tidy fixes for modernize-use-equals-default in InputFile.cpp (NFC)

Added: 
    

Modified: 
    llvm/lib/DebugInfo/PDB/Native/InputFile.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/DebugInfo/PDB/Native/InputFile.cpp b/llvm/lib/DebugInfo/PDB/Native/InputFile.cpp
index 74d7d9b2711b1..637e0ee294f7b 100644
--- a/llvm/lib/DebugInfo/PDB/Native/InputFile.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/InputFile.cpp
@@ -31,8 +31,8 @@ using namespace llvm::codeview;
 using namespace llvm::object;
 using namespace llvm::pdb;
 
-InputFile::InputFile() {}
-InputFile::~InputFile() {}
+InputFile::InputFile() = default;
+InputFile::~InputFile() = default;
 
 Expected<ModuleDebugStreamRef>
 llvm::pdb::getModuleDebugStream(PDBFile &File, StringRef &ModuleName,


        


More information about the llvm-commits mailing list