diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-08-20 13:03:48 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-08-20 13:03:48 +0000 |
| commit | 49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce (patch) | |
| tree | f67fcbe4d22d0268902ea501339f083eab383c62 /llvm/lib/Bitcode | |
| parent | df8c2628ac6778024d6b99484bb94fd77e466d0e (diff) | |
| download | bcm5719-llvm-49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce.tar.gz bcm5719-llvm-49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce.zip | |
Move helper classes into anonymous namespaces.
No functionality change intended.
llvm-svn: 311288
Diffstat (limited to 'llvm/lib/Bitcode')
| -rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index c81e2006ad8..7fcec9c7a8d 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/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 |

