aboutsummaryrefslogtreecommitdiff
path: root/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
commit33fe0182f3623d0df6bb88a2fd83f48c6c561a6b (patch)
tree896a7235b385dcbc6b53617ff5fccdccceb6e079 /lib/Index/SimpleFormatContext.h
parent79e18a8550402e8b1cff354c2a0008f37da5e627 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/SimpleFormatContext.h')
-rw-r--r--lib/Index/SimpleFormatContext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Index/SimpleFormatContext.h b/lib/Index/SimpleFormatContext.h
index 080a4ad04d..b884214989 100644
--- a/lib/Index/SimpleFormatContext.h
+++ b/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);