parent
7f882399b8
commit
82d9272fc2
|
@ -347,7 +347,7 @@ supplied as the fourth argument.</p>
|
|||
<b>struct Hello</b> : <b>public</b> <a href="#FunctionPass">FunctionPass</a> {
|
||||
|
||||
static char ID;
|
||||
Hello() : FunctionPass(ID) {}
|
||||
Hello() : FunctionPass(&ID) {}
|
||||
|
||||
<b>virtual bool</b> <a href="#runOnFunction">runOnFunction</a>(Function &F) {
|
||||
errs() << "<i>Hello: </i>";
|
||||
|
|
Loading…
Reference in New Issue