diff options
author | Torok Edwin <edwintorok@gmail.com> | 2008-10-28 17:29:23 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2008-10-28 17:29:23 +0000 |
commit | 52790e5865202f3805cf9b1e9145ce19653c0add (patch) | |
tree | c4fa8e9b42cdf0f0a3c95c1c32277a4f5d1aca02 /docs | |
parent | 83f5c856d92758d1b859d7ad554a2d7ce1eb0d1e (diff) | |
download | llvm-52790e5865202f3805cf9b1e9145ce19653c0add.tar.gz llvm-52790e5865202f3805cf9b1e9145ce19653c0add.tar.bz2 llvm-52790e5865202f3805cf9b1e9145ce19653c0add.tar.xz |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/WritingAnLLVMPass.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index 5d8b1c1049..047ac6ef2d 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -977,7 +977,7 @@ implement the virtual <tt>print</tt> method:</p> <div class="doc_text"> <div class="doc_code"><pre> - <b>virtual void</b> print(llvm::OStream &O, <b>const</b> Module *M) <b>const</b>; + <b>virtual void</b> print(std::ostream &O, <b>const</b> Module *M) <b>const</b>; </pre></div> <p>The <tt>print</tt> method must be implemented by "analyses" in order to print |