Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ADT/PointerIntPairTest.cpp: Appease msc17. | NAKAMURA Takumi | 2014-03-10 | 1 | -1/+3 |
| | | | | | | | - Use constructor instead of initializer list. - Disable ManyUnusedBits for now. llvm-svn: 203436 | ||||
* | Fix EXPECT_* to not produce a compile warning. | Eli Bendersky | 2014-03-07 | 1 | -2/+2 |
| | | | | | | EXPECT_TRUE/FALSE is also more idiomatic for booleans than EXPECT_EQ llvm-svn: 203284 | ||||
* | [ADT] Update PointerIntPair to handle pointer types with more than 31 bits free. | Jordan Rose | 2014-03-07 | 1 | -0/+74 |
Previously, the assertions in PointerIntPair would try to calculate the value (1 << NumLowBitsAvailable); the inferred type here is 'int', so if there were more than 31 bits available we'd get a shift overflow. Also, add a rudimentary unit test file for PointerIntPair. llvm-svn: 203273 |