aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-12-07 18:02:44 +0000
committerBill Wendling <isanbard@gmail.com>2011-12-07 18:02:44 +0000
commit465becf481092f18c75459f1975f8faaf58aa0c0 (patch)
tree2366e6d01e235058951982b4f8189b4120e493fe /docs
parent470855b24ff4e82360ce1f84a1088332f3b4c8ea (diff)
Correct initializer in example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/WritingAnLLVMPass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index 66b98b681a..d508a80692 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -284,7 +284,7 @@ time.</p>
<div class="doc_code">
<pre>
static char ID;
- Hello() : FunctionPass(ID) {}
+ Hello() : FunctionPass(&amp;ID) {}
</pre>
</div>