[libcxx-commits] [libcxx] c313d0d - [NFC][libc++] Fixes a compiler warning.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 31 06:37:18 PST 2023
Author: Mark de Wever
Date: 2023-12-31T15:36:49+01:00
New Revision: c313d0d03bb420efbfc18e194664584875640d2c
URL: https://github.com/llvm/llvm-project/commit/c313d0d03bb420efbfc18e194664584875640d2c
DIFF: https://github.com/llvm/llvm-project/commit/c313d0d03bb420efbfc18e194664584875640d2c.diff
LOG: [NFC][libc++] Fixes a compiler warning.
Added:
Modified:
libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
Removed:
################################################################################
diff --git a/libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp b/libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
index 35f020da45c435..fbbee26ab26bc1 100644
--- a/libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
+++ b/libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
@@ -275,7 +275,7 @@ static bool is_module(header_exportable_declarations::FileType file_type) {
case header_exportable_declarations::FileType::Unknown:
llvm::errs() << "This should be unreachable.\n";
- break;
+ return false;
}
}
More information about the libcxx-commits
mailing list