[llvm-commits] CVS: llvm/include/llvm/Module.h Pass.h Type.h Value.h
Bill Wendling
isanbard at gmail.com
Wed Dec 6 17:32:03 PST 2006
Changes in directory llvm/include/llvm:
Module.h updated: 1.75 -> 1.76
Pass.h updated: 1.55 -> 1.56
Type.h updated: 1.93 -> 1.94
Value.h updated: 1.86 -> 1.87
---
Log message:
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.
---
Diffs of the changes: (+5 -5)
Module.h | 4 ++--
Pass.h | 2 +-
Type.h | 2 +-
Value.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/Module.h
diff -u llvm/include/llvm/Module.h:1.75 llvm/include/llvm/Module.h:1.76
--- llvm/include/llvm/Module.h:1.75 Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/Module.h Wed Dec 6 19:30:30 2006
@@ -295,12 +295,12 @@
/// @{
public:
/// Print the module to an output stream
- void print(llvm_ostream &OS) const {
+ void print(OStream &OS) const {
if (OS.stream()) print(*OS.stream(), 0);
}
void print(std::ostream &OS) const { print(OS, 0); }
/// Print the module to an output stream with AssemblyAnnotationWriter.
- void print(llvm_ostream &OS, AssemblyAnnotationWriter *AAW) const {
+ void print(OStream &OS, AssemblyAnnotationWriter *AAW) const {
if (OS.stream()) print(*OS.stream(), AAW);
}
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.55 llvm/include/llvm/Pass.h:1.56
--- llvm/include/llvm/Pass.h:1.55 Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/Pass.h Wed Dec 6 19:30:30 2006
@@ -101,7 +101,7 @@
/// provide the Module* in case the analysis doesn't need it it can just be
/// ignored.
///
- void print(llvm_ostream &O, const Module *M) const {
+ void print(OStream &O, const Module *M) const {
if (O.stream()) print(*O.stream(), M);
}
virtual void print(std::ostream &O, const Module *M) const;
Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.93 llvm/include/llvm/Type.h:1.94
--- llvm/include/llvm/Type.h:1.93 Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/Type.h Wed Dec 6 19:30:30 2006
@@ -136,7 +136,7 @@
///
mutable std::vector<AbstractTypeUser *> AbstractTypeUsers;
public:
- void print(llvm_ostream &O) const {
+ void print(OStream &O) const {
if (O.stream()) print(*O.stream());
}
void print(std::ostream &O) const;
Index: llvm/include/llvm/Value.h
diff -u llvm/include/llvm/Value.h:1.86 llvm/include/llvm/Value.h:1.87
--- llvm/include/llvm/Value.h:1.86 Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/Value.h Wed Dec 6 19:30:30 2006
@@ -75,7 +75,7 @@
/// print - Implement operator<< on Value...
///
- void print(llvm_ostream &O) const {
+ void print(OStream &O) const {
if (O.stream()) print(*O.stream());
}
virtual void print(std::ostream &O) const = 0;
More information about the llvm-commits
mailing list