Skip to content

Commit 7987725

Browse files
committed
AST: PlatformKind can use uint8_t as raw value
1 parent 56110b8 commit 7987725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/PlatformKind.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace swift {
2626
class LangOptions;
2727

2828
/// Available platforms for the availability attribute.
29-
enum class PlatformKind {
29+
enum class PlatformKind: uint8_t {
3030
none,
3131
#define AVAILABILITY_PLATFORM(X, PrettyName) X,
3232
#include "swift/AST/PlatformKinds.def"

0 commit comments

Comments
 (0)