mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[TextAPI] add osx to possible string to platform input
This commit is contained in:
parent
c731bdd6ca
commit
e63e536044
@ -90,6 +90,7 @@ StringRef getPlatformName(PlatformType Platform) {
|
||||
|
||||
PlatformType getPlatformFromName(StringRef Name) {
|
||||
return StringSwitch<PlatformType>(Name)
|
||||
.Case("osx", PLATFORM_MACOS)
|
||||
.Case("macos", PLATFORM_MACOS)
|
||||
.Case("ios", PLATFORM_IOS)
|
||||
.Case("tvos", PLATFORM_TVOS)
|
||||
|
Loading…
Reference in New Issue
Block a user