aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-10 18:49:43 +0000
committerChris Lattner <sabre@nondot.org>2004-01-10 18:49:43 +0000
commit44f549b4ebe834aa4b337864ee45ee21c66e8c9a (patch)
tree12e9bdc2c7c7013ff1931e71c9917d66a3526af1 /lib/Bytecode/Writer/Writer.cpp
parentbe39e43d33fc1436cff6d07ce328068fdcf002d4 (diff)
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/Writer.cpp')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index 7fa22b8101..09fd667e19 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -35,8 +35,7 @@
#include "Support/Statistic.h"
#include "Config/string.h"
#include <algorithm>
-
-namespace llvm {
+using namespace llvm;
static RegisterPass<WriteBytecodePass> X("emitbytecode", "Bytecode Writer");
@@ -267,7 +266,7 @@ void BytecodeWriter::outputSymbolTable(const SymbolTable &MST) {
}
}
-void WriteBytecodeToFile(const Module *C, std::ostream &Out) {
+void llvm::WriteBytecodeToFile(const Module *C, std::ostream &Out) {
assert(C && "You can't write a null module!!");
std::deque<unsigned char> Buffer;
@@ -302,5 +301,3 @@ void WriteBytecodeToFile(const Module *C, std::ostream &Out) {
Out.flush();
}
-
-} // End llvm namespace