summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-04-29 21:32:53 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-04-29 21:32:53 +0000
commitf23ce3609b81220409fcdd38d947466f50b56b36 (patch)
tree9356a615c13edc0bb2d54ebb02e2a263cda264f0 /clang/lib
parentf74e93b60004ecc23832492264116c38249a87c7 (diff)
downloadbcm5719-llvm-f23ce3609b81220409fcdd38d947466f50b56b36.tar.gz
bcm5719-llvm-f23ce3609b81220409fcdd38d947466f50b56b36.zip
[Sema] Specify the underlying type for an enum. NFC.
llvm-svn: 268113
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaOverload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 405a66f3b23..0b36fef1444 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/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
};
OpenPOWER on IntegriCloud