[llvm-commits] [llvm] r58337 - /llvm/trunk/docs/WritingAnLLVMPass.html
Torok Edwin
edwintorok at gmail.com
Tue Oct 28 10:29:24 PDT 2008
Author: edwin
Date: Tue Oct 28 12:29:23 2008
New Revision: 58337
URL: http://llvm.org/viewvc/llvm-project?rev=58337&view=rev
Log:
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
Modified:
llvm/trunk/docs/WritingAnLLVMPass.html
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=58337&r1=58336&r2=58337&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Tue Oct 28 12:29:23 2008
@@ -977,7 +977,7 @@
<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
More information about the llvm-commits
mailing list