diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:10:01 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:10:01 +0000 |
commit | 48e04e492fed75de9741d36c655cfef89b273be7 (patch) | |
tree | 9ebb8cb6427335bb00c7d180f6a39bbf9d8e3e6f | |
parent | 94ce865c81a5be8fc518dfdf135f280fbdf9313e (diff) | |
download | llvm-48e04e492fed75de9741d36c655cfef89b273be7.zip llvm-48e04e492fed75de9741d36c655cfef89b273be7.tar.gz llvm-48e04e492fed75de9741d36c655cfef89b273be7.tar.bz2 |
Give enum an unsigned type to silence -Wmicrosoft clang-cl warning
llvm-svn: 230687
-rw-r--r-- | lld/lib/ReaderWriter/Native/NativeFileFormat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/Native/NativeFileFormat.h b/lld/lib/ReaderWriter/Native/NativeFileFormat.h index 5dfb87f..889fd45 100644 --- a/lld/lib/ReaderWriter/Native/NativeFileFormat.h +++ b/lld/lib/ReaderWriter/Native/NativeFileFormat.h @@ -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; |