[llvm] r278843 - Fix an instance of -Wmicrosoft-enum-value by making the enum unsigned
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 13:22:49 PDT 2016
Author: rnk
Date: Tue Aug 16 15:22:49 2016
New Revision: 278843
URL: http://llvm.org/viewvc/llvm-project?rev=278843&view=rev
Log:
Fix an instance of -Wmicrosoft-enum-value by making the enum unsigned
Modified:
llvm/trunk/include/llvm/LTO/LTO.h
Modified: llvm/trunk/include/llvm/LTO/LTO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/LTO.h?rev=278843&r1=278842&r2=278843&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LTO/LTO.h (original)
+++ llvm/trunk/include/llvm/LTO/LTO.h Tue Aug 16 15:22:49 2016
@@ -346,7 +346,7 @@ private:
unsigned Partition = Unknown;
/// Special partition numbers.
- enum {
+ enum : unsigned {
/// A partition number has not yet been assigned to this global.
Unknown = -1u,
More information about the llvm-commits
mailing list