summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/SimpleFormatContext.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-04-11 15:58:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-04-11 15:58:30 +0000
commit80172372771ee46373965e5ea45240375b46154d (patch)
tree22a5271e078087ea89e3a47ec8befa90cf9a3d55 /clang/lib/Index/SimpleFormatContext.h
parentdd0ff857010e14b914a7b69548c69fa77ec20d72 (diff)
downloadbcm5719-llvm-80172372771ee46373965e5ea45240375b46154d.tar.gz
bcm5719-llvm-80172372771ee46373965e5ea45240375b46154d.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: 234689
Diffstat (limited to 'clang/lib/Index/SimpleFormatContext.h')
-rw-r--r--clang/lib/Index/SimpleFormatContext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Index/SimpleFormatContext.h b/clang/lib/Index/SimpleFormatContext.h
index 080a4ad04dd..b8842149895 100644
--- a/clang/lib/Index/SimpleFormatContext.h
+++ b/clang/lib/Index/SimpleFormatContext.h
@@ -44,8 +44,6 @@ public:
Diagnostics->setClient(new IgnoringDiagConsumer, true);
}
- ~SimpleFormatContext() { }
-
FileID createInMemoryFile(StringRef Name, StringRef Content) {
std::unique_ptr<llvm::MemoryBuffer> Source =
llvm::MemoryBuffer::getMemBuffer(Content);
OpenPOWER on IntegriCloud