Skip to content

Commit 411fae3

Browse files
committed
[master-next] Add HermitCore OS type for LLVM triples
LLVM r340675 added a new HermitCore OS type to triples, which broke the Swift build because it is using -Werror,-Wswitch and the new value was not handled in swift::getPlatformNameForTriple
1 parent 8dcfac6 commit 411fae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Basic/Platform.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
138138
case llvm::Triple::Mesa3D:
139139
case llvm::Triple::Contiki:
140140
case llvm::Triple::AMDPAL:
141+
case llvm::Triple::HermitCore:
141142
return "";
142143
case llvm::Triple::Darwin:
143144
case llvm::Triple::MacOSX:

0 commit comments

Comments
 (0)