Skip to content

Commit 04f74b8

Browse files
authored
[Driver] Remove default from fully-covered switch (#25548)
This produces warnings when compiling with Clang.
1 parent 2397bf4 commit 04f74b8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Driver/ToolChains.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ static void addRuntimeLibraryFlags(const OutputInfo &OI,
275275

276276
Arguments.push_back("-autolink-library");
277277
switch (RT) {
278-
default: llvm_unreachable("invalid MSVC runtime library");
279278
case OutputInfo::MSVCRuntime::MultiThreaded:
280279
Arguments.push_back("libcmt");
281280
break;

0 commit comments

Comments
 (0)