Fixed syntax error (in documentation!): missing parenthesis.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 7 May 2003 21:47:39 +0000 (21:47 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 7 May 2003 21:47:39 +0000 (21:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6020 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.html

index 4f21cc3c70fd47681258c06cc06f0ebc9c9b0647..85d53dc25193738170405593ee472d2a83300d8f 100644 (file)
@@ -900,7 +900,7 @@ instruction.  The following example illustrates the replacement of one
 AllocaInst* instToReplace = ...;
 BasicBlock::iterator ii(instToReplace);
 ReplaceInstWithInst(instToReplace-&gt;getParent()-&gt;getInstList(), ii,
-                    new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt");
+                    new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt"));
 </pre>
 
 </ul>