Skip to content

Commit c994a3b

Browse files
committed
Specify the underlying type of enum class.
1 parent 286b18f commit c994a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/MiscDiagnostics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ void swift::performAbstractFuncDeclDiagnostics(TypeChecker &TC,
25092509
/// Diagnose C style for loops.
25102510

25112511
namespace {
2512-
enum class OperatorKind {
2512+
enum class OperatorKind : char {
25132513
Greater,
25142514
Smaller,
25152515
NotEqual,

0 commit comments

Comments
 (0)