From 7dbf6836bf57b81660c1f7c39271ed3a7e2a3e29 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 18 Sep 2002 05:14:25 +0000 Subject: [PATCH] Clean up tags, link to the right .h file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3811 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index d9571c882d4..8378b5c06e2 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -713,8 +713,8 @@ For example:

   Instruction *I = .. ;
-  BasicBlock *BB = I->getParent();
-  BB->getInstList().erase(I);
+  BasicBlock *BB = I->getParent();
+  BB->getInstList().erase(I);
 

@@ -724,13 +724,13 @@ For example:

Replacing individual instructions

Including "llvm/Transforms/Utils/BasicBlock.h +href="/doxygen/BasicBlockUtils_8h-source.html">llvm/Transforms/Utils/BasicBlockUtils.h " permits use of two very useful replace functions: ReplaceInstWithValue and ReplaceInstWithInst.