From a65b610bd2f22385e190d3251707eefd8ca5436f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 15 May 2016 15:18:11 +0000 Subject: Move helper classes into anonymous namespaces. NFC. llvm-svn: 269591 --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Bitcode/Writer') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index e69fbe66770..050294da166 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -37,6 +37,7 @@ #include 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 &valueIds() { return GUIDToValueIdMap; } }; +} // end anonymous namespace static unsigned getEncodedCastOpcode(unsigned Opcode) { switch (Opcode) { -- cgit v1.2.3