Move helper classes into anonymous namespaces.

No functionality change intended.

llvm-svn: 311288
This commit is contained in:
Benjamin Kramer
2017-08-20 13:03:48 +00:00
parent df8c2628ac
commit 49a49fe816
15 changed files with 38 additions and 17 deletions

View File

@@ -4031,6 +4031,7 @@ void llvm::WriteIndexToFile(
Out.write((char *)&Buffer.front(), Buffer.size());
}
namespace {
/// Class to manage the bitcode writing for a thin link bitcode file.
class ThinLinkBitcodeWriter : public ModuleBitcodeWriterBase {
/// ModHash is for use in ThinLTO incremental build, generated while writing
@@ -4051,6 +4052,7 @@ public:
private:
void writeSimplifiedModuleInfo();
};
} // namespace
// This function writes a simpilified module info for thin link bitcode file.
// It only contains the source file name along with the name(the offset and