From: Torok Edwin Date: Tue, 28 Oct 2008 17:29:23 +0000 (+0000) Subject: fix prototype of print, it is (llvm/Pass.h): X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=52790e5865202f3805cf9b1e9145ce19653c0add;p=oota-llvm.git 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 --- 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