mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 18:46:18 +00:00
validation fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5c87f6056
commit
550211711a
@ -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)&ID) {}
|
||||
|
||||
<b>virtual bool</b> <a href="#runOnFunction">runOnFunction</a>(Function &F) {
|
||||
llvm::cerr << "<i>Hello: </i>" << F.getName() << "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user