summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/UserTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modernize the .ll parsing interface.Rafael Espindola2014-08-191-1/+1
| | | | | | | | | | * Use StringRef instead of std::string& * Return a std::unique_ptr<Module> instead of taking an optional module to write to (was not really used). * Use current comment style. * Use current naming convention. llvm-svn: 215989
* [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