[llvm-commits] [llvm] r146041 - /llvm/trunk/docs/WritingAnLLVMPass.html
Bill Wendling
isanbard at gmail.com
Wed Dec 7 10:02:44 PST 2011
Author: void
Date: Wed Dec 7 12:02:44 2011
New Revision: 146041
URL: http://llvm.org/viewvc/llvm-project?rev=146041&view=rev
Log:
Correct initializer in example.
Modified:
llvm/trunk/docs/WritingAnLLVMPass.html
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=146041&r1=146040&r2=146041&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Wed Dec 7 12:02:44 2011
@@ -284,7 +284,7 @@
<div class="doc_code">
<pre>
static char ID;
- Hello() : FunctionPass(ID) {}
+ Hello() : FunctionPass(&ID) {}
</pre>
</div>
More information about the llvm-commits
mailing list