[llvm] 644de3b - [PDB] Make pdb::DbiModuleDescriptor destructor trivial
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 11 21:30:30 PST 2019
Author: Fangrui Song
Date: 2019-11-11T21:26:26-08:00
New Revision: 644de3b96e735aa91a2c0568e65f02c5b537fea0
URL: https://github.com/llvm/llvm-project/commit/644de3b96e735aa91a2c0568e65f02c5b537fea0
DIFF: https://github.com/llvm/llvm-project/commit/644de3b96e735aa91a2c0568e65f02c5b537fea0.diff
LOG: [PDB] Make pdb::DbiModuleDescriptor destructor trivial
Added:
Modified:
llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
index 568f0c98c559..163189b31fd2 100644
--- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
+++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
@@ -27,7 +27,6 @@ class DbiModuleDescriptor {
public:
DbiModuleDescriptor();
DbiModuleDescriptor(const DbiModuleDescriptor &Info);
- ~DbiModuleDescriptor();
static Error initialize(BinaryStreamRef Stream, DbiModuleDescriptor &Info);
diff --git a/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp b/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
index 5095efcdee3c..fe9f9ce5805f 100644
--- a/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
@@ -23,8 +23,6 @@ DbiModuleDescriptor::DbiModuleDescriptor() = default;
DbiModuleDescriptor::DbiModuleDescriptor(const DbiModuleDescriptor &Info) =
default;
-DbiModuleDescriptor::~DbiModuleDescriptor() = default;
-
Error DbiModuleDescriptor::initialize(BinaryStreamRef Stream,
DbiModuleDescriptor &Info) {
BinaryStreamReader Reader(Stream);
More information about the llvm-commits
mailing list