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 | e1c147c3cf68437b7a233feff3b95302a1b62201 (patch) | |
tree | 57b4f3fa6f5f6e9cd99d103e357397a0d1becd42 /clang/lib/Lex/PTHLexer.cpp | |
parent | 914f4e7092ff922901b2fb5d7a9b7103f8f616ea (diff) | |
download | bcm5719-llvm-e1c147c3cf68437b7a233feff3b95302a1b62201.tar.gz bcm5719-llvm-e1c147c3cf68437b7a233feff3b95302a1b62201.zip |
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.
llvm-svn: 205061
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
-rw-r--r-- | clang/lib/Lex/PTHLexer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index 8c0865a539e..b671f9b4c18 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/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> |