From 996ff1469fbdd0633c19a6ce8fa2c79a3bb1f203 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 7 Dec 2011 18:18:11 +0000 Subject: [PATCH] Also pass in correct initializer here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146044 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMPass.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ";