From 4d467215f162b487381e17b8cb59283af75ca50e Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Fri, 12 Jan 2024 10:58:17 +0100 Subject: [PATCH] [Clang] Revert inintentional changes to cmake committed in 33e5db6e0 --- clang/.clang-tidy | 2 +- llvm/cmake/modules/HandleLLVMOptions.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/.clang-tidy b/clang/.clang-tidy index 7eef110c3cf7..ba55beb095f5 100644 --- a/clang/.clang-tidy +++ b/clang/.clang-tidy @@ -1,5 +1,5 @@ # Note that the readability-identifier-naming check is disabled, there are too # many violations in the codebase and they create too much noise in clang-tidy # results. -Checks: '-readability-identifier-naming, -misc-include*' +Checks: '-readability-identifier-naming' InheritParentConfig: true diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake index 52babeda1fef..0699a8586fcc 100644 --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -647,7 +647,7 @@ if ( LLVM_COMPILER_IS_GCC_COMPATIBLE ) # crash if LLVM is built with GCC and LTO enabled (#57740). Until # these bugs are fixed, we need to disable dead store eliminations # based on object lifetime. - # add_flag_if_supported("-fno-lifetime-dse" CMAKE_CXX_FLAGS) + add_flag_if_supported("-fno-lifetime-dse" CMAKE_CXX_FLAGS) endif ( LLVM_COMPILER_IS_GCC_COMPATIBLE ) # Modules enablement for GCC-compatible compilers: