[llvm][TextAPI] add driverkit as supported platform for older tbd

versions

 It looks like being able to write it was added, but missed the ability
  to read it.
This commit is contained in:
Cyndy Ishida 2022-09-19 15:05:20 -07:00
parent 7349084e7a
commit e6cdb00315
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO,
.Case("tvos", PLATFORM_TVOS)
.Case("bridgeos", PLATFORM_BRIDGEOS)
.Case("iosmac", PLATFORM_MACCATALYST)
.Case("driverkit", PLATFORM_DRIVERKIT)
.Default(PLATFORM_UNKNOWN);
if (Platform == PLATFORM_MACCATALYST)