diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2024-08-14 15:02:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 15:02:47 +0300 |
commit | 6cf3e7d06706fe79e87d1816c92b074416b5f8f8 (patch) | |
tree | 8f9d911249025f00bd39ffd36a830ed61d6d3489 /llvm/lib/IR/Module.cpp | |
parent | 6de04e6fe8b1520ef3e4073ff222e623b7dc9cb9 (diff) | |
download | llvm-6cf3e7d06706fe79e87d1816c92b074416b5f8f8.zip llvm-6cf3e7d06706fe79e87d1816c92b074416b5f8f8.tar.gz llvm-6cf3e7d06706fe79e87d1816c92b074416b5f8f8.tar.bz2 |
[DataLayout] Use member initialization (NFC) (#103712)
This also adds a default constructor and a few uses of it.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r-- | llvm/lib/IR/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp index 7ba5b27..704bc8d 100644 --- a/llvm/lib/IR/Module.cpp +++ b/llvm/lib/IR/Module.cpp @@ -73,7 +73,7 @@ template class llvm::SymbolTableListTraits<GlobalIFunc>; Module::Module(StringRef MID, LLVMContext &C) : Context(C), ValSymTab(std::make_unique<ValueSymbolTable>(-1)), - ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL(""), + ModuleID(std::string(MID)), SourceFileName(std::string(MID)), IsNewDbgInfoFormat(UseNewDbgInfoFormat) { Context.addModule(this); } |