Add a iterator and interator_range interface to the operands of a NamedMDNode.
authorOwen Anderson <resistor@mac.com>
Thu, 6 Mar 2014 01:12:56 +0000 (01:12 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 6 Mar 2014 01:12:56 +0000 (01:12 +0000)
commitd6ea721c1f92d1b35af98fc4a6a74fb9f05be22d
tree644ce3b90f7589e44f1db1489b4dcea620d1dccc
parentf4ec8bfaecef4e38f713b9e05d89869b023e1ce8
Add a iterator and interator_range interface to the operands of a NamedMDNode.
The iterator is a little complex because we don't want to expose the implementation
details (TrackingVH) of the operand vector to clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203053 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h