commit | 2571440d1e4fd86b43a65599e3ae078f92412df8 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Mon Aug 24 02:02:58 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Mon Aug 24 02:02:58 2009 +0000 |
tree | 47113746dca27a8e12382075569b726e3f1ddf1a | |
parent | 566902bc2f5981f74014bd42dd6c2cc2bb638009 [diff] [blame] |
Unbreak unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79879 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Support/ConstantRangeTest.cpp b/unittests/Support/ConstantRangeTest.cpp index f377b6f..56f315a 100644 --- a/unittests/Support/ConstantRangeTest.cpp +++ b/unittests/Support/ConstantRangeTest.cpp
@@ -16,6 +16,13 @@ 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;