From fbc33388c199d6f731170bf55719d57373a09c1f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 23 Jan 2009 00:13:28 +0000 Subject: [PATCH] Update comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62819 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/PTHLexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index 51d49cf6e2..b0f06271c4 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp @@ -41,8 +41,8 @@ static inline uint16_t ReadUnalignedLE16(const unsigned char *&Data) { } static inline uint32_t ReadLE32(const unsigned char *&Data) { - // Hosts that directly support unaligned little-endian 32-bit loads can just - // use them. + // Hosts that directly support little-endian 32-bit loads can just + // use them. Big-endian hosts need a bswap. uint32_t V = *((uint32_t*)Data); if (llvm::sys::isBigEndianHost()) V = llvm::ByteSwap_32(V); -- 2.40.0