]> granicus.if.org Git - clang/commit
Support: Simplify endian stream interface. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 May 2018 19:46:24 +0000 (19:46 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 May 2018 19:46:24 +0000 (19:46 +0000)
commit6cfc2d490caedf2aa783f086cf71f4bab807974a
tree187a3dd9de883d2485205ffe7bef5c6cbe543ab6
parentd7bc93eac61ad5c2bc205e1a05e3b10eeade919e
Support: Simplify endian stream interface. NFCI.

Provide some free functions to reduce verbosity of endian-writing
a single value, and replace the endianness template parameter with
a field.

Part of PR37466.

Differential Revision: https://reviews.llvm.org/D47032

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332757 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CacheTokens.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/GlobalModuleIndex.cpp
lib/Serialization/MultiOnDiskHashTable.h