Skip to content
Commit 4c1b05f8 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Make the User::value_op_iterator a random access iterator. I had written

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
parent de4077a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment