summaryrefslogtreecommitdiffstats
path: root/llvm/docs
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
commit6d84cdcfee7883e2238e6234875df6773bb3f476 (patch)
tree0d7f53d1ccda783880c6a49fea7e8a662c854f93 /llvm/docs
parent5538349a7c438d24f5094d8e98cdf38fc40a2db8 (diff)
downloadbcm5719-llvm-6d84cdcfee7883e2238e6234875df6773bb3f476.tar.gz
bcm5719-llvm-6d84cdcfee7883e2238e6234875df6773bb3f476.zip
validation fix
llvm-svn: 37206
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 ca6c4ad4519..925d9811a4e 100644
--- a/llvm/docs/WritingAnLLVMPass.html
+++ b/llvm/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";
OpenPOWER on IntegriCloud