Move helper classes into anonymous namespaces. NFC.

llvm-svn: 269591
This commit is contained in:
Benjamin Kramer
2016-05-15 15:18:11 +00:00
parent ee004bc0a2
commit a65b610bd2
6 changed files with 10 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
#include <map>
using namespace llvm;
namespace {
/// These are manifest constants used by the bitcode writer. They do not need to
/// be kept in sync with the reader, but need to be consistent within this file.
enum {
@@ -463,6 +464,7 @@ private:
}
std::map<GlobalValue::GUID, unsigned> &valueIds() { return GUIDToValueIdMap; }
};
} // end anonymous namespace
static unsigned getEncodedCastOpcode(unsigned Opcode) {
switch (Opcode) {