summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-04-11 15:32:26 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-04-11 15:32:26 +0000
commitdd0ff857010e14b914a7b69548c69fa77ec20d72 (patch)
tree1f20f09d95bf8a231d1b99577580781f1b5d81ad /llvm/lib/IR/AsmWriter.cpp
parent7b24b0573d3cc58cf81df4d3ee7d7806e7084388 (diff)
downloadbcm5719-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.cpp4
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);
OpenPOWER on IntegriCloud