Finegrainify namespacification
llvm-svn: 10737
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index 7fa22b8..09fd667 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/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 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 @@
Out.flush();
}
-
-} // End llvm namespace