From: Bill Wendling Date: Wed, 7 Dec 2011 18:18:11 +0000 (+0000) Subject: Also pass in correct initializer here. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=996ff1469fbdd0633c19a6ce8fa2c79a3bb1f203;p=oota-llvm.git Also pass in correct initializer here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index d508a806923..831e94cd5fe 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -347,7 +347,7 @@ supplied as the fourth argument.

struct Hello : public FunctionPass { static char ID; - Hello() : FunctionPass(ID) {} + Hello() : FunctionPass(&ID) {} virtual bool runOnFunction(Function &F) { errs() << "Hello: ";