[lld] r230687 - Give enum an unsigned type to silence -Wmicrosoft clang-cl warning
Reid Kleckner
reid at kleckner.net
Thu Feb 26 13:10:01 PST 2015
Author: rnk
Date: Thu Feb 26 15:10:01 2015
New Revision: 230687
URL: http://llvm.org/viewvc/llvm-project?rev=230687&view=rev
Log:
Give enum an unsigned type to silence -Wmicrosoft clang-cl warning
Modified:
lld/trunk/lib/ReaderWriter/Native/NativeFileFormat.h
Modified: lld/trunk/lib/ReaderWriter/Native/NativeFileFormat.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/Native/NativeFileFormat.h?rev=230687&r1=230686&r2=230687&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/Native/NativeFileFormat.h (original)
+++ lld/trunk/lib/ReaderWriter/Native/NativeFileFormat.h Thu Feb 26 15:10:01 2015
@@ -215,7 +215,7 @@ struct NativeReferenceIvarsV1 {
// The NCS_ReferencesArrayV2 chunk contains an array of these structs
//
struct NativeReferenceIvarsV2 {
- enum {
+ enum : unsigned {
noTarget = UINT32_MAX
};
uint64_t offsetInAtom;
More information about the llvm-commits
mailing list