summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-24 23:02:40 +0000
committerChris Lattner <sabre@nondot.org>2002-02-24 23:02:40 +0000
commit5536c9c938264e81d54010596b86c831f73992b2 (patch)
treeb63ac5c37dab40d14c6d81e770852e6889eb6bb7 /llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
parent2294b4ee27cf6b4aff0cb45ade6f3f7894e87459 (diff)
downloadbcm5719-llvm-5536c9c938264e81d54010596b86c831f73992b2.tar.gz
bcm5719-llvm-5536c9c938264e81d54010596b86c831f73992b2.zip
Clean up std namespace issues
Silence warning llvm-svn: 1790
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp')
-rw-r--r--llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp b/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
index 7cbf08557fb..1a14a5300b7 100644
--- a/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
@@ -8,6 +8,7 @@
#include "SparcInternals.h"
#include "llvm/Bytecode/Writer.h"
+#include <ostream>
namespace {
@@ -17,10 +18,10 @@ namespace {
class sparcasmbuf : public streambuf {
std::ostream &BaseStr;
public:
- typedef char char_type;
- typedef int int_type;
- typedef streampos pos_type;
- typedef streamoff off_type;
+ typedef char char_type;
+ typedef int int_type;
+ typedef std::streampos pos_type;
+ typedef std::streamoff off_type;
sparcasmbuf(std::ostream &On) : BaseStr(On) {}
@@ -39,10 +40,10 @@ namespace {
class osparcasmstream : public ostream {
sparcasmbuf sb;
public:
- typedef char char_type;
- typedef int int_type;
- typedef streampos pos_type;
- typedef streamoff off_type;
+ typedef char char_type;
+ typedef int int_type;
+ typedef std::streampos pos_type;
+ typedef std::streamoff off_type;
explicit osparcasmstream(ostream &On) : ostream(&sb), sb(On) { }
OpenPOWER on IntegriCloud