diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-05 18:16:17 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-05 18:16:17 +0000 |
commit | 9c0c3bf1ec2feb861f19867d4091350010b23de6 (patch) | |
tree | 3ef93342ed0b85c78f6229093f2902d2cb03de3e /unittests/Support | |
parent | 5db3084b6932903e61dac317260fe7b1d7987f2e (diff) |
Teach googletest to use raw_ostream instead of just std::ostream.
This can break when there are implicit conversions from types raw_ostream
understands but std::ostream doesn't, but it increases the number of cases that
Just Work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support')
-rw-r--r-- | unittests/Support/ConstantRangeTest.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/unittests/Support/ConstantRangeTest.cpp b/unittests/Support/ConstantRangeTest.cpp index 937b8805cf..64c945dedc 100644 --- a/unittests/Support/ConstantRangeTest.cpp +++ b/unittests/Support/ConstantRangeTest.cpp @@ -16,13 +16,6 @@ using namespace llvm; namespace { -// Support APInt output to an std::ostream. -inline std::ostream &operator<<(std::ostream &OS, const APInt &Value) { - raw_os_ostream RawOS(OS); - RawOS << Value; - return OS; -} - class ConstantRangeTest : public ::testing::Test { protected: static ConstantRange Full; |