Move symbols from the global namespace into (anonymous) namespaces. NFC.

llvm-svn: 294837
This commit is contained in:
Benjamin Kramer
2017-02-11 11:06:55 +00:00
parent b196055c0c
commit efcf06f5f2
9 changed files with 25 additions and 30 deletions

View File

@@ -567,7 +567,7 @@ public:
void shrinkTo(unsigned N) { MetadataList.shrinkTo(N); }
};
Error error(const Twine &Message) {
static Error error(const Twine &Message) {
return make_error<StringError>(
Message, make_error_code(BitcodeError::CorruptedBitcode));
}