summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling
diff options
context:
space:
mode:
authorAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 13:23:58 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 13:23:58 +0000
commit637d1e6694d94a03a6031f4b272175a0896e9e1e (patch)
treeb699bed9a41ecf1c974db5b79f5b0a4efb11eda5 /clang/unittests/Tooling
parent7fd67e25aa95e8702322841e40e8c5bf93e0ff29 (diff)
downloadbcm5719-llvm-637d1e6694d94a03a6031f4b272175a0896e9e1e.tar.gz
bcm5719-llvm-637d1e6694d94a03a6031f4b272175a0896e9e1e.zip
Roll-back r250822.
Summary: It breaks the build for the ASTMatchers Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D13893 llvm-svn: 250827
Diffstat (limited to 'clang/unittests/Tooling')
-rw-r--r--clang/unittests/Tooling/CompilationDatabaseTest.cpp2
-rw-r--r--clang/unittests/Tooling/RewriterTestContext.h2
-rw-r--r--clang/unittests/Tooling/TestVisitor.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/clang/unittests/Tooling/CompilationDatabaseTest.cpp b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
index d45871f7296..380d86fc566 100644
--- a/clang/unittests/Tooling/CompilationDatabaseTest.cpp
+++ b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
@@ -173,7 +173,7 @@ TEST(JSONCompilationDatabase, ArgumentsPreferredOverCommand) {
}
struct FakeComparator : public PathComparator {
- ~FakeComparator() override = default;
+ ~FakeComparator() override {}
bool equivalent(StringRef FileA, StringRef FileB) const override {
return FileA.equals_lower(FileB);
}
diff --git a/clang/unittests/Tooling/RewriterTestContext.h b/clang/unittests/Tooling/RewriterTestContext.h
index ae593f08a53..eee7ea1873b 100644
--- a/clang/unittests/Tooling/RewriterTestContext.h
+++ b/clang/unittests/Tooling/RewriterTestContext.h
@@ -50,7 +50,7 @@ class RewriterTestContext {
OverlayFileSystem->pushOverlay(InMemoryFileSystem);
}
- ~RewriterTestContext() = default;
+ ~RewriterTestContext() {}
FileID createInMemoryFile(StringRef Name, StringRef Content) {
std::unique_ptr<llvm::MemoryBuffer> Source =
diff --git a/clang/unittests/Tooling/TestVisitor.h b/clang/unittests/Tooling/TestVisitor.h
index a69e18eee18..f4a00394487 100644
--- a/clang/unittests/Tooling/TestVisitor.h
+++ b/clang/unittests/Tooling/TestVisitor.h
@@ -35,9 +35,9 @@ namespace clang {
template <typename T>
class TestVisitor : public RecursiveASTVisitor<T> {
public:
- TestVisitor() = default;
+ TestVisitor() { }
- virtual ~TestVisitor() = default;
+ virtual ~TestVisitor() { }
enum Language {
Lang_C,
OpenPOWER on IntegriCloud