diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-19 04:28:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-19 04:28:07 +0000 |
commit | b64871a6ad4752309d45cb3e25ad564c5d8c1d80 (patch) | |
tree | dbb80d50399f5c4bcf1dde36e5938e969dd73027 /lib/VMCore | |
parent | 0d9574a1cd68c6e41f725c22657b8bb3f8d74117 (diff) | |
download | llvm-b64871a6ad4752309d45cb3e25ad564c5d8c1d80.tar.gz llvm-b64871a6ad4752309d45cb3e25ad564c5d8c1d80.tar.bz2 llvm-b64871a6ad4752309d45cb3e25ad564c5d8c1d80.tar.xz |
put SlotTracker in an anon namespace since it is private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 6 |
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> |