summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/src/gtest-death-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/unittest/googletest/src/gtest-death-test.cc')
-rw-r--r--llvm/utils/unittest/googletest/src/gtest-death-test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/unittest/googletest/src/gtest-death-test.cc b/llvm/utils/unittest/googletest/src/gtest-death-test.cc
index 82453f20fd5..b66325e2b62 100644
--- a/llvm/utils/unittest/googletest/src/gtest-death-test.cc
+++ b/llvm/utils/unittest/googletest/src/gtest-death-test.cc
@@ -300,6 +300,8 @@ DeathTest::DeathTest() {
}
}
+DeathTest::~DeathTest() {}
+
// Creates and returns a death test by dispatching to the current
// death test factory.
bool DeathTest::Create(const char* statement, const RE* regex,
@@ -733,6 +735,8 @@ DeathTest::TestRole WindowsDeathTest::AssumeRole() {
}
# else // We are not on Windows.
+DeathTestFactory::~DeathTestFactory() {}
+
// ForkingDeathTest provides implementations for most of the abstract
// methods of the DeathTest interface. Only the AssumeRole method is
// left undefined.
OpenPOWER on IntegriCloud