summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/UserTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] Use 'nullptr'.Craig Topper2014-06-081-1/+1
| | | | llvm-svn: 210442
* Make the User::value_op_iterator a random access iterator. I had writtenChandler Carruth2014-04-171-0/+96
this code ages ago and lost track of it. Seems worth doing though -- this thing can get called from places that would benefit from knowing that std::distance is O(1). Also add a very fledgeling unittest for Users and make sure various aspects of this seem to work reasonably. llvm-svn: 206453
OpenPOWER on IntegriCloud