summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2008-10-28 17:29:23 +0000
committerTorok Edwin <edwintorok@gmail.com>2008-10-28 17:29:23 +0000
commitdf851ff94f19a295a7b5d216c4294ed4776d7953 (patch)
tree032747b5f19e868b793d1a32441e21afa2fd604a /llvm
parentc0468cf03c534f8702197a1ea4ad6e417bf767b3 (diff)
downloadbcm5719-llvm-df851ff94f19a295a7b5d216c4294ed4776d7953.tar.gz
bcm5719-llvm-df851ff94f19a295a7b5d216c4294ed4776d7953.zip
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 llvm-svn: 58337
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/WritingAnLLVMPass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/WritingAnLLVMPass.html b/llvm/docs/WritingAnLLVMPass.html
index 5d8b1c10490..047ac6ef2d5 100644
--- a/llvm/docs/WritingAnLLVMPass.html
+++ b/llvm/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 &amp;O, <b>const</b> Module *M) <b>const</b>;
+ <b>virtual void</b> print(std::ostream &amp;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
OpenPOWER on IntegriCloud