diff --git a/clang/.clang-tidy b/clang/.clang-tidy index 7eef110c3cf7e..ba55beb095f54 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 52babeda1fef0..0699a8586fcc7 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: