[all-commits] [llvm/llvm-project] 6d4f46: [libc] Build with -Wshadow (#196519)

Nico Weber via All-commits all-commits at lists.llvm.org
Tue May 12 06:49:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d4f4642d978debd4c4a4057361a0a0f42de5743
      https://github.com/llvm/llvm-project/commit/6d4f4642d978debd4c4a4057361a0a0f42de5743
  Author: Nico Weber <thakis at chromium.org>
  Date:   2026-05-12 (Tue, 12 May 2026)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc] Build with -Wshadow (#196519)

This way, clients including libc/shared/math.h don't need to `#pragma
GCC diagnostic ignored "-Wshadow"` around the include.

This works locally after #196337 #196342 #196346.

CI also needed #196529 #196810 #196850 #196851 #196852 #196853 #196855
#196857 #196858 #196859 #196860.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list