summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-07 21:47:39 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-07 21:47:39 +0000
commite7a7ab48f3cb5677f14962c9006afd80cf2475cc (patch)
tree5c97854c35c7cfa1066d4cee0d1bf822fd308753 /docs
parent700fd49e6eaa7459cbb19eb162e48291809cc594 (diff)
downloadllvm-e7a7ab48f3cb5677f14962c9006afd80cf2475cc.tar.gz
llvm-e7a7ab48f3cb5677f14962c9006afd80cf2475cc.tar.bz2
llvm-e7a7ab48f3cb5677f14962c9006afd80cf2475cc.tar.xz
Fixed syntax error (in documentation!): missing parenthesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ProgrammersManual.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 4f21cc3c70..85d53dc251 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -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>