From 33fe0182f3623d0df6bb88a2fd83f48c6c561a6b Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 11 Apr 2015 15:58:30 +0000 Subject: 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 --- lib/Index/SimpleFormatContext.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Index/SimpleFormatContext.h') 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 Source = llvm::MemoryBuffer::getMemBuffer(Content); -- cgit v1.2.3