summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 20:23:00 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 20:23:00 +0000
commitc6e1894cc830a4e48e5d2e5f17fe94210caad3d8 (patch)
tree614b52a9b932fc23103221059a5b7ab1555ce40a /llvm/utils/unittest/googletest/include
parent972a96aededb8751eb208c95cd54ac6809bbbc31 (diff)
downloadbcm5719-llvm-c6e1894cc830a4e48e5d2e5f17fe94210caad3d8.tar.gz
bcm5719-llvm-c6e1894cc830a4e48e5d2e5f17fe94210caad3d8.zip
Remove dead private member variables from gtest.
llvm-svn: 158101
Diffstat (limited to 'llvm/utils/unittest/googletest/include')
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal-inl.h1
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal-inl.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal-inl.h
index 65a2101a4d8..6554cfc07e6 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal-inl.h
+++ b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal-inl.h
@@ -203,7 +203,6 @@ class GTestFlagSaver {
bool list_tests_;
String output_;
bool print_time_;
- bool pretty_;
internal::Int32 random_seed_;
internal::Int32 repeat_;
bool shuffle_;
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
index b198a3d97a2..f8a5cc9447b 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
+++ b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
@@ -102,12 +102,11 @@
// but still find raw_ostream& overloads.
namespace llvm {
class convertible_fwd_ostream : public std::ostream {
- std::ostream& os_;
raw_os_ostream ros_;
public:
convertible_fwd_ostream(std::ostream& os)
- : std::ostream(os.rdbuf()), os_(os), ros_(*this) {}
+ : std::ostream(os.rdbuf()), ros_(*this) {}
operator raw_ostream&() { return ros_; }
};
}
OpenPOWER on IntegriCloud