projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c87f6
)
validation fix
author
Chris Lattner
<sabre@nondot.org>
Fri, 18 May 2007 05:38:44 +0000
(
05:38
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 18 May 2007 05:38:44 +0000
(
05:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37206
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/WritingAnLLVMPass.html
patch
|
blob
|
history
diff --git
a/docs/WritingAnLLVMPass.html
b/docs/WritingAnLLVMPass.html
index ca6c4ad4519866626bed17a9d93351025bcc2bdf..925d9811a4ed5d52a09f6d2acf0c4ec7930fcb48 100644
(file)
--- 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 &F) {
llvm::cerr << "<i>Hello: </i>" << F.getName() << "\n";