[cfe-commits] r62819 - /cfe/trunk/lib/Lex/PTHLexer.cpp
Chris Lattner
sabre at nondot.org
Thu Jan 22 16:13:29 PST 2009
Author: lattner
Date: Thu Jan 22 18:13:28 2009
New Revision: 62819
URL: http://llvm.org/viewvc/llvm-project?rev=62819&view=rev
Log:
Update comment.
Modified:
cfe/trunk/lib/Lex/PTHLexer.cpp
Modified: cfe/trunk/lib/Lex/PTHLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PTHLexer.cpp?rev=62819&r1=62818&r2=62819&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PTHLexer.cpp (original)
+++ cfe/trunk/lib/Lex/PTHLexer.cpp Thu Jan 22 18:13:28 2009
@@ -41,8 +41,8 @@
}
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);
More information about the cfe-commits
mailing list