summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-04 18:17:16 +0000
committerChris Lattner <sabre@nondot.org>2010-09-04 18:17:16 +0000
commit2f095c636a8fced04bc22f1340b31fa2ad6dc382 (patch)
tree1bc66c01fddb690812d5d09a9899fd8cb87d7f71
parent9795b39113ff060aea5e9afb4642bd29f41fbc9c (diff)
downloadbcm5719-llvm-2f095c636a8fced04bc22f1340b31fa2ad6dc382.tar.gz
bcm5719-llvm-2f095c636a8fced04bc22f1340b31fa2ad6dc382.zip
delete dead code.
llvm-svn: 113075
-rw-r--r--llvm/utils/unittest/googletest/gtest.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/llvm/utils/unittest/googletest/gtest.cc b/llvm/utils/unittest/googletest/gtest.cc
index aa2d5bb9250..6e291aee507 100644
--- a/llvm/utils/unittest/googletest/gtest.cc
+++ b/llvm/utils/unittest/googletest/gtest.cc
@@ -2224,35 +2224,6 @@ int TestInfo::increment_death_test_count() {
return impl_->result()->increment_death_test_count();
}
-namespace {
-
-// A predicate that checks the test name of a TestInfo against a known
-// value.
-//
-// This is used for implementation of the TestCase class only. We put
-// it in the anonymous namespace to prevent polluting the outer
-// namespace.
-//
-// TestNameIs is copyable.
-class TestNameIs {
- public:
- // Constructor.
- //
- // TestNameIs has NO default constructor.
- explicit TestNameIs(const char* name)
- : name_(name) {}
-
- // Returns true iff the test name of test_info matches name_.
- bool operator()(const TestInfo * test_info) const {
- return test_info && internal::String(test_info->name()).Compare(name_) == 0;
- }
-
- private:
- internal::String name_;
-};
-
-} // namespace
-
namespace internal {
// This method expands all parameterized tests registered with macros TEST_P
OpenPOWER on IntegriCloud