summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/LTO/LTO.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/LTO/LTO.h b/llvm/include/llvm/LTO/LTO.h
index aef36433e5b..23396e24c82 100644
--- a/llvm/include/llvm/LTO/LTO.h
+++ b/llvm/include/llvm/LTO/LTO.h
@@ -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,
OpenPOWER on IntegriCloud