summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PTHLexer.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-03-28 22:03:19 +0000
committerJustin Bogner <mail@justinbogner.com>2014-03-28 22:03:19 +0000
commite1c147c3cf68437b7a233feff3b95302a1b62201 (patch)
tree57b4f3fa6f5f6e9cd99d103e357397a0d1becd42 /clang/lib/Lex/PTHLexer.cpp
parent914f4e7092ff922901b2fb5d7a9b7103f8f616ea (diff)
downloadbcm5719-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.cpp1
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>
OpenPOWER on IntegriCloud