aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMPass.html
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-04-09 09:51:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-04-09 09:51:57 +0000
commit4d6deb099ee63f2b19f3abbe11e8e3c106fd8493 (patch)
tree19fc10c5dbf9eac1ccacc88cb3258cee5041e99f /docs/WritingAnLLVMPass.html
parent18a2e50a9bfe4ecde57dc3913a7bd98b954ec81a (diff)
downloadexternal_llvm-4d6deb099ee63f2b19f3abbe11e8e3c106fd8493.zip
external_llvm-4d6deb099ee63f2b19f3abbe11e8e3c106fd8493.tar.gz
external_llvm-4d6deb099ee63f2b19f3abbe11e8e3c106fd8493.tar.bz2
docs/*.html: Make W3C HTML 4.01 Strict more compliant.
FIXME: The logo handling in ReleaseNotes.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.html')
-rw-r--r--docs/WritingAnLLVMPass.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index 866f406..6d18d19 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -185,7 +185,7 @@ source tree in the <tt>lib/Transforms/Hello</tt> directory.</p>
<tt>lib/Transforms/Hello</tt>. Finally, you must set up a build script
(Makefile) that will compile the source code for the new pass. To do this,
copy the following into <tt>Makefile</tt>:</p>
- <hr/>
+ <hr>
<div class="doc_code"><pre>
# Makefile for hello pass
@@ -301,7 +301,7 @@ function.</p>
initialization value is not important.</p>
<div class="doc_code"><pre>
- static RegisterPass<Hello> X("<i>hello</i>", "<i>Hello World Pass</i>",
+ static RegisterPass&lt;Hello&gt; X("<i>hello</i>", "<i>Hello World Pass</i>",
false /* Only looks at CFG */,
false /* Analysis Pass */);
} <i>// end of anonymous namespace</i>
@@ -337,7 +337,7 @@ is supplied as fourth argument. </p>
};
char Hello::ID = 0;
- static RegisterPass<Hello> X("hello", "Hello World Pass", false, false);
+ static RegisterPass&lt;Hello&gt; X("hello", "Hello World Pass", false, false);
}
</pre></div>