projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7349084
)
[llvm][TextAPI] add driverkit as supported platform for older tbd
author
Cyndy Ishida
<cyndy_ishida@apple.com>
Mon, 19 Sep 2022 22:05:20 +0000
(15:05 -0700)
committer
Cyndy Ishida
<cyndy_ishida@apple.com>
Mon, 19 Sep 2022 22:08:29 +0000
(15:08 -0700)
versions
It looks like being able to write it was added, but missed the ability
to read it.
llvm/lib/TextAPI/TextStubCommon.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/TextAPI/TextStubCommon.cpp
b/llvm/lib/TextAPI/TextStubCommon.cpp
index
0a03f42
..
01a9007
100644
(file)
--- a/
llvm/lib/TextAPI/TextStubCommon.cpp
+++ b/
llvm/lib/TextAPI/TextStubCommon.cpp
@@
-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)