summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/PointerUnionTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* 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