summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/AsmWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index ccc793f36e..26383d8170 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -37,11 +37,11 @@
#include <cctype>
using namespace llvm;
-namespace llvm {
-
// Make virtual table appear in this compilation unit.
AssemblyAnnotationWriter::~AssemblyAnnotationWriter() {}
+namespace {
+
/// This class provides computation of slot numbers for LLVM Assembly writing.
///
class SlotTracker {
@@ -110,7 +110,7 @@ private:
void operator=(const SlotTracker &); // DO NOT IMPLEMENT
};
-} // end namespace llvm
+} // end anonymous namespace
char PrintModulePass::ID = 0;
static RegisterPass<PrintModulePass>