summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-12-07 18:18:11 +0000
committerBill Wendling <isanbard@gmail.com>2011-12-07 18:18:11 +0000
commit82d9272fc292ed7e43dbd9d49caa055b0be16a73 (patch)
tree460eaf94dc8c3d838a6dfa3c3024b8b0f4bd4827 /llvm/docs
parent7f882399b8115ba2069a2315c951f354285d4ba3 (diff)
downloadbcm5719-llvm-82d9272fc292ed7e43dbd9d49caa055b0be16a73.tar.gz
bcm5719-llvm-82d9272fc292ed7e43dbd9d49caa055b0be16a73.zip
Also pass in correct initializer here.
llvm-svn: 146044
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/WritingAnLLVMPass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/WritingAnLLVMPass.html b/llvm/docs/WritingAnLLVMPass.html
index d508a806923..831e94cd5fe 100644
--- a/llvm/docs/WritingAnLLVMPass.html
+++ b/llvm/docs/WritingAnLLVMPass.html
@@ -347,7 +347,7 @@ supplied as the fourth argument.</p>
<b>struct Hello</b> : <b>public</b> <a href="#FunctionPass">FunctionPass</a> {
static char ID;
- Hello() : FunctionPass(ID) {}
+ Hello() : FunctionPass(&amp;ID) {}
<b>virtual bool</b> <a href="#runOnFunction">runOnFunction</a>(Function &amp;F) {
errs() &lt;&lt; "<i>Hello: </i>";
OpenPOWER on IntegriCloud