[clang] 4d46721 - [Clang] Revert inintentional changes to cmake committed in 33e5db6e0

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 01:59:58 PST 2024


Author: Corentin Jabot
Date: 2024-01-12T10:59:46+01:00
New Revision: 4d467215f162b487381e17b8cb59283af75ca50e

URL: https://github.com/llvm/llvm-project/commit/4d467215f162b487381e17b8cb59283af75ca50e
DIFF: https://github.com/llvm/llvm-project/commit/4d467215f162b487381e17b8cb59283af75ca50e.diff

LOG: [Clang] Revert inintentional changes to cmake committed in 33e5db6e0

Added: 
    

Modified: 
    clang/.clang-tidy
    llvm/cmake/modules/HandleLLVMOptions.cmake

Removed: 
    


################################################################################
diff  --git a/clang/.clang-tidy b/clang/.clang-tidy
index 7eef110c3cf7e2..ba55beb095f54f 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 52babeda1fef03..0699a8586fcc7e 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:


        


More information about the cfe-commits mailing list