llvm.org GIT mirror llvm / 2571440
Unbreak unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79879 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 10 years ago
2 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1515 using namespace llvm;
1616
1717 namespace {
18
19 // Support APInt output to an std::ostream.
20 inline std::ostream &operator<<(std::ostream &OS, const APInt &Value) {
21 raw_os_ostream RawOS(OS);
22 RawOS << Value;
23 return OS;
24 }
1825
1926 // Test that APInt shift left works when bitwidth > 64 and shiftamt == 0
2027 TEST(APIntTest, ShiftLeftByZero) {
1414 using namespace llvm;
1515
1616 namespace {
17
18 // Support APInt output to an std::ostream.
19 inline std::ostream &operator<<(std::ostream &OS, const APInt &Value) {
20 raw_os_ostream RawOS(OS);
21 RawOS << Value;
22 return OS;
23 }
1724
1825 class ConstantRangeTest : public ::testing::Test {
1926 protected: