[all-commits] [llvm/llvm-project] e6cc0f: [runtimes] Don't use -Wall on clang-cl builds

philnik777 via All-commits all-commits at lists.llvm.org
Sun Mar 19 04:51:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6cc0faa73823387c31e96be132187643f2d7aee
      https://github.com/llvm/llvm-project/commit/e6cc0faa73823387c31e96be132187643f2d7aee
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

  Changed paths:
    M runtimes/cmake/Modules/WarningFlags.cmake

  Log Message:
  -----------
  [runtimes] Don't use -Wall on clang-cl builds

`-Wall` on clang-cl is equivalent to `-Weverything` on clang. We already add the correct warning flag depending whether we are in an MSVC-like environment, so just remove it from the list of flags that get passed unconditionally.

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D146378




More information about the All-commits mailing list