From: Yaron Keren Date: Sat, 3 May 2014 12:06:13 +0000 (+0000) Subject: Updated Doxygen link for InstIterator.h. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=879875f8029e8edf8089235c636086531dbaf857;p=oota-llvm.git Updated Doxygen link for InstIterator.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207906 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ProgrammersManual.rst b/docs/ProgrammersManual.rst index 55f37545484..473d95df78c 100644 --- a/docs/ProgrammersManual.rst +++ b/docs/ProgrammersManual.rst @@ -1560,7 +1560,7 @@ If you're finding that you commonly iterate over a ``Function``'s ``BasicBlock``\ s and then that ``BasicBlock``'s ``Instruction``\ s, ``InstIterator`` should be used instead. You'll need to include ``llvm/IR/InstIterator.h`` (`doxygen -`__) and then instantiate +`__) and then instantiate ``InstIterator``\ s explicitly in your code. Here's a small example that shows how to dump all instructions in a function to the standard error stream: