We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ad073 commit 06cc888Copy full SHA for 06cc888
llvm/include/llvm/Support/SwapByteOrder.h
@@ -26,7 +26,7 @@ namespace sys {
26
constexpr bool IsBigEndianHost =
27
llvm::endianness::native == llvm::endianness::big;
28
29
-static const bool IsLittleEndianHost = !IsBigEndianHost;
+constexpr bool IsLittleEndianHost = !IsBigEndianHost;
30
31
inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); }
32
inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); }
0 commit comments