diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-24 23:02:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-24 23:02:40 +0000 |
commit | 49b8a9c731131c943f428adf239526d587817601 (patch) | |
tree | 3f13c43d715b783909b5b4c09a33320898831a38 /lib/Target/SparcV9/EmitBytecodeToAssembly.cpp | |
parent | 7f1576f0424542d6162c1cedc14629e4cbc3e80a (diff) |
Clean up std namespace issues
Silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/EmitBytecodeToAssembly.cpp')
-rw-r--r-- | lib/Target/SparcV9/EmitBytecodeToAssembly.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp b/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp index 7cbf08557f..1a14a5300b 100644 --- a/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp +++ b/lib/Target/SparcV9/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) { } |