summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-08-19 22:04:55 +0000
committerDaniel Jasper <djasper@google.com>2015-08-19 22:04:55 +0000
commit8d90e533ea1ae3af604fe9c39e7b9e3d49ecd3ce (patch)
tree60a671f1e1cfcbc29c48e014270b559417134c4e /clang-tools-extra/unittests/clang-tidy
parentfb5e9f50823c2543e30872ffb160b7ed6717f437 (diff)
downloadbcm5719-llvm-8d90e533ea1ae3af604fe9c39e7b9e3d49ecd3ce.tar.gz
bcm5719-llvm-8d90e533ea1ae3af604fe9c39e7b9e3d49ecd3ce.zip
Remove empty destructors added in r245500. I got confused by my
YouCompleteMe setup which apparently doesn't find the base classes and thus doesn't understand that there is an implicit virtual destructor. llvm-svn: 245510
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp b/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp
index 2267897d035..bad804353f1 100644
--- a/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp
@@ -31,7 +31,6 @@ class IncludeInserterCheckBase : public ClangTidyCheck {
public:
IncludeInserterCheckBase(StringRef CheckName, ClangTidyContext *Context)
: ClangTidyCheck(CheckName, Context) {}
- virtual ~IncludeInserterCheckBase() {}
void registerPPCallbacks(CompilerInstance &Compiler) override {
Inserter.reset(new IncludeInserter(Compiler.getSourceManager(),
@@ -66,7 +65,6 @@ class NonSystemHeaderInserterCheck : public IncludeInserterCheckBase {
public:
NonSystemHeaderInserterCheck(StringRef CheckName, ClangTidyContext *Context)
: IncludeInserterCheckBase(CheckName, Context) {}
- virtual ~NonSystemHeaderInserterCheck() {}
std::vector<StringRef> HeadersToInclude() const override {
return {"path/to/header.h"};
@@ -78,7 +76,6 @@ class MultipleHeaderInserterCheck : public IncludeInserterCheckBase {
public:
MultipleHeaderInserterCheck(StringRef CheckName, ClangTidyContext *Context)
: IncludeInserterCheckBase(CheckName, Context) {}
- virtual ~MultipleHeaderInserterCheck() {}
std::vector<StringRef> HeadersToInclude() const override {
return {"path/to/header.h", "path/to/header2.h", "path/to/header.h"};
@@ -90,7 +87,6 @@ class CSystemIncludeInserterCheck : public IncludeInserterCheckBase {
public:
CSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context)
: IncludeInserterCheckBase(CheckName, Context) {}
- virtual ~CSystemIncludeInserterCheck() {}
std::vector<StringRef> HeadersToInclude() const override {
return {"stdlib.h"};
OpenPOWER on IntegriCloud