diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-23 00:13:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-23 00:13:28 +0000 |
commit | fbc33388c199d6f731170bf55719d57373a09c1f (patch) | |
tree | 47d2daed82036e4beb2eeebdb6f7881e88713502 /lib/Lex/PTHLexer.cpp | |
parent | 6849f737b7c85c652369e2497a7f34667e2ea0ac (diff) |
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
-rw-r--r-- | lib/Lex/PTHLexer.cpp | 4 |
1 files 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); |