From: George Burgess IV Date: Fri, 29 Apr 2016 21:32:53 +0000 (+0000) Subject: [Sema] Specify the underlying type for an enum. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc79c367cf34d19184de9a7e163be9bb635c188a;p=clang [Sema] Specify the underlying type for an enum. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268113 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 405a66f3b2..0b36fef144 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -7257,7 +7257,7 @@ class BuiltinOperatorOverloadBuilder { // (we could precompute SLL x UI for all known platforms, but it's // better not to make any assumptions). // We assume that int128 has a higher rank than long long on all platforms. - enum PromotedType { + enum PromotedType : int8_t { Dep=-1, Flt, Dbl, LDbl, SI, SL, SLL, S128, UI, UL, ULL, U128 };