aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMPass.html
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-07-25 21:05:39 +0000
committerDevang Patel <dpatel@apple.com>2007-07-25 21:05:39 +0000
commit8e46f05c3d5e4410222f576ac32b45ef316daeda (patch)
treeb937406188e5a805f95f3c3535ad0f45fcfc61f4 /docs/WritingAnLLVMPass.html
parent5d72a422813ceeb8b71e49f2e7ea4ee7098ced3a (diff)
downloadexternal_llvm-8e46f05c3d5e4410222f576ac32b45ef316daeda.zip
external_llvm-8e46f05c3d5e4410222f576ac32b45ef316daeda.tar.gz
external_llvm-8e46f05c3d5e4410222f576ac32b45ef316daeda.tar.bz2
Fix example code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.html')
-rw-r--r--docs/WritingAnLLVMPass.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index c967000..58bea1a 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -320,6 +320,7 @@ argument "<tt>hello</tt>", and a name "<tt>Hello World Pass</tt>".</p>
}
};
+ char Hello::ID = 0;
RegisterPass&lt;Hello&gt; X("<i>hello</i>", "<i>Hello World Pass</i>");
}
</pre></div>