From cbb3104b1c8ea93b6749043184a8d8952b8b2747 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 29 Oct 2019 17:05:40 -0700 Subject: [PATCH] Suppress useless GCC "bitfield is too small to hold all values of enum class" warning. --- clang/include/clang/Sema/Sema.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index 88d2136..a505ab1 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -1238,7 +1238,7 @@ public: llvm::SmallPtrSet SpecialMembersBeingDeclared; /// Kinds of defaulted comparison operator functions. - enum class DefaultedComparisonKind { + enum class DefaultedComparisonKind : unsigned char { /// This is not a defaultable comparison operator. None, /// This is an operator== that should be implemented as a series of -- 2.7.4