summaryrefslogtreecommitdiff
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-08-20 13:03:48 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-08-20 13:03:48 +0000
commitc7732761890e5f447ba791ec4c898a3071c39d96 (patch)
tree67114a409c59a685f0626908e3b6b44185f69832 /lib/Bitcode
parent1c8117b2ed473c8eaea2ad4d6d9adb28859de534 (diff)
Move helper classes into anonymous namespaces.
No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index c81e2006ad8..7fcec9c7a8d 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -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