diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-03-28 22:03:19 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-03-28 22:03:19 +0000 |
| commit | 73433a87fa9458b99a92a8f88a27ef47ff0d0ded (patch) | |
| tree | ddc2ce70fafc50e4559a5f7aa20d35c13c619f0d /lib/Lex/PTHLexer.cpp | |
| parent | 7683f196ea8fdc42b0ff9705f9770e3424f9e593 (diff) | |
| download | clang-73433a87fa9458b99a92a8f88a27ef47ff0d0ded.tar.gz | |
Reapply "OnDiskHashTable: Use EndianStream.h to write little endian ostreams"
Committed this by accident before it was done last time.
Original message:
Rather than rolling our own functions to write little endian data
to an ostream, we can use the support in llvm's EndianStream.h.
No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
| -rw-r--r-- | lib/Lex/PTHLexer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index 8c0865a539..b671f9b4c1 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp @@ -23,6 +23,7 @@ #include "clang/Lex/Token.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringMap.h" +#include "llvm/Support/EndianStream.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/system_error.h" #include <memory> |
