aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMPass.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-18 05:38:44 +0000
committerChris Lattner <sabre@nondot.org>2007-05-18 05:38:44 +0000
commit550211711acc12a470a66cf55147796f61e923cd (patch)
tree15c5d588189a3e9d04b705da5b7647ef4705711c /docs/WritingAnLLVMPass.html
parentb5c87f605658828530ec72a9f50b5602692a2fd2 (diff)
downloadexternal_llvm-550211711acc12a470a66cf55147796f61e923cd.zip
external_llvm-550211711acc12a470a66cf55147796f61e923cd.tar.gz
external_llvm-550211711acc12a470a66cf55147796f61e923cd.tar.bz2
validation fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.html')
-rw-r--r--docs/WritingAnLLVMPass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index ca6c4ad..925d981 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -312,7 +312,7 @@ argument "<tt>hello</tt>", and a name "<tt>Hello World Pass</tt>".</p>
<b>struct Hello</b> : <b>public</b> <a href="#FunctionPass">FunctionPass</a> {
static char ID;
- Hello() : FunctionPass((intptr_t)&ID) {}
+ Hello() : FunctionPass((intptr_t)&amp;ID) {}
<b>virtual bool</b> <a href="#runOnFunction">runOnFunction</a>(Function &amp;F) {
llvm::cerr &lt;&lt; "<i>Hello: </i>" &lt;&lt; F.getName() &lt;&lt; "\n";