1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

put SlotTracker in an anon namespace since it is private.

llvm-svn: 54975
This commit is contained in:
Chris Lattner 2008-08-19 04:28:07 +00:00
parent c6e031668d
commit de5c9e9be5

View File

@ -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>