summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/PointerUnionTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Re-sort #include lines for unittests. This uses a slightly modifiedChandler Carruth2017-06-061-1/+1
| | | | | | | | | | | | | | | clang-format (https://reviews.llvm.org/D33932) to keep primary headers at the top and handle new utility headers like 'gmock' consistently with other utility headers. No other change was made. I did no manual edits, all of this is clang-format. This should allow other changes to have more clear and focused diffs, and is especially motivated by moving some headers into more focused libraries. llvm-svn: 304786
* [C++11] Use 'nullptr'.Craig Topper2014-06-081-1/+1
| | | | llvm-svn: 210442
* [ADT] Teach PointerUnion to support assignment directly from nullptr toChandler Carruth2014-04-291-0/+6
| | | | | | clear it out. llvm-svn: 207471
* [cleanup] Add some actual positive tests for equality. This unittestChandler Carruth2014-04-281-2/+6
| | | | | | | never actually compared for equality two pointer unions that were equal. Fortunately, things seem to work. =] llvm-svn: 207468
* [cleanup] Make this test use a proper fixture rather than globals.Chandler Carruth2014-04-281-7/+6
| | | | llvm-svn: 207466
* [cleanup] Fix the whitespace in this test. Notably, correct spacingChandler Carruth2014-04-281-12/+11
| | | | | | around pointer types. llvm-svn: 207465
* Basic unit tests for PointerUnionDavid Blaikie2013-08-211-0/+64
llvm-svn: 188933
OpenPOWER on IntegriCloud