From 52790e5865202f3805cf9b1e9145ce19653c0add Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Tue, 28 Oct 2008 17:29:23 +0000 Subject: [PATCH] fix prototype of print, it is (llvm/Pass.h): virtual void print(std::ostream &O, const Module *M) const; instead of virtual void print(llvm::OStream &O, const Module *M) const; as the docs say git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58337 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 5d8b1c10490..047ac6ef2d5 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -977,7 +977,7 @@ implement the virtual print method:

-  virtual void print(llvm::OStream &O, const Module *M) const;
+  virtual void print(std::ostream &O, const Module *M) const;
 

The print method must be implemented by "analyses" in order to print