diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-11 15:32:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-11 15:32:26 +0000 |
commit | dd0ff857010e14b914a7b69548c69fa77ec20d72 (patch) | |
tree | 1f20f09d95bf8a231d1b99577580781f1b5d81ad /llvm/lib/IR/AsmWriter.cpp | |
parent | 7b24b0573d3cc58cf81df4d3ee7d7806e7084388 (diff) | |
download | bcm5719-llvm-dd0ff857010e14b914a7b69548c69fa77ec20d72.tar.gz bcm5719-llvm-dd0ff857010e14b914a7b69548c69fa77ec20d72.zip |
Remove empty non-virtual destructors or mark them =default when non-public
These add no value but can make a class non-trivially copyable. NFC.
llvm-svn: 234688
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp index a7f0ede90f9..f3ca13db5dd 100644 --- a/llvm/lib/IR/AsmWriter.cpp +++ b/llvm/lib/IR/AsmWriter.cpp @@ -401,9 +401,7 @@ public: /// NumberedTypes - The numbered types, along with their value. DenseMap<StructType*, unsigned> NumberedTypes; - - TypePrinting() {} - ~TypePrinting() {} + TypePrinting() = default; void incorporateTypes(const Module &M); |