[llvm-branch-commits] [libc] 34acca2 - Revert "[libc] Build with -Wshadow (#196519)"
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 12 06:57:43 PDT 2026
Author: Nico Weber
Date: 2026-05-12T09:57:38-04:00
New Revision: 34acca2450223eb6f822ec957e5c1bf8875961e0
URL: https://github.com/llvm/llvm-project/commit/34acca2450223eb6f822ec957e5c1bf8875961e0
DIFF: https://github.com/llvm/llvm-project/commit/34acca2450223eb6f822ec957e5c1bf8875961e0.diff
LOG: Revert "[libc] Build with -Wshadow (#196519)"
This reverts commit 6d4f4642d978debd4c4a4057361a0a0f42de5743.
Added:
Modified:
libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
Removed:
################################################################################
diff --git a/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake b/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
index db541a4dfb985..2d3703eefa0ac 100644
--- a/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+++ b/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
@@ -301,7 +301,6 @@ function(_get_common_compile_options output_var flags)
if(NOT CMAKE_COMPILER_IS_GNUCXX)
list(APPEND compile_options "-Wnewline-eof")
list(APPEND compile_options "-Wnonportable-system-include-path")
- list(APPEND compile_options "-Wshadow")
list(APPEND compile_options "-Wstrict-prototypes")
list(APPEND compile_options "-Wthread-safety")
list(APPEND compile_options "-Wglobal-constructors")
More information about the llvm-branch-commits
mailing list