Closed qingant closed 6 months ago
Upgrade to LLVM@18 needs rebasing to ClickHouse 24 first
If you want to build now, here is a temp patch:
diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake
index 00fa32a6b7f..4b97c4f3d9c 100644
--- a/cmake/warnings.cmake
+++ b/cmake/warnings.cmake
@@ -46,5 +46,9 @@ if (COMPILER_CLANG)
no_warning(thread-safety-negative) # experimental flag, too many false positives
no_warning(enum-constexpr-conversion) # breaks magic-enum library in clang-16
no_warning(unsafe-buffer-usage) # too aggressive
+ no_warning(switch-default)
+ no_warning(missing-field-initializers)
+ no_warning(deprecated-declarations)
+ no_warning(thread-safety-reference-return)
# TODO Enable conversion, sign-conversion, double-promotion warnings.
endif ()