[llvm] 2bc684c - Apply clang-tidy fixes for readability-redundant-member-init in Module.cpp (NFC)

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


Author: Kazu Hirata
Date: 2022-03-28T09:18:27-07:00
New Revision: 2bc684cb6cd6ac07935ceff5fb66c16c4fc49cfe

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

LOG: Apply clang-tidy fixes for readability-redundant-member-init in Module.cpp (NFC)

Added: 
    

Modified: 
    llvm/lib/IR/Module.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index b66a99ba17b02..5cd74d53da757 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -71,8 +71,7 @@ template class llvm::SymbolTableListTraits<GlobalIFunc>;
 
 Module::Module(StringRef MID, LLVMContext &C)
     : Context(C), ValSymTab(std::make_unique<ValueSymbolTable>(-1)),
-      Materializer(), ModuleID(std::string(MID)),
-      SourceFileName(std::string(MID)), DL("") {
+      ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL("") {
   Context.addModule(this);
 }
 


        


More information about the llvm-commits mailing list