Skip to content

Commit c313d0d

Browse files
committed
[NFC][libc++] Fixes a compiler warning.
1 parent f248d5e commit c313d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ static bool is_module(header_exportable_declarations::FileType file_type) {
275275

276276
case header_exportable_declarations::FileType::Unknown:
277277
llvm::errs() << "This should be unreachable.\n";
278-
break;
278+
return false;
279279
}
280280
}
281281

0 commit comments

Comments
 (0)