[all-commits] [llvm/llvm-project] 5cf367: [clang] Pass -c to clang in test/Driver/Ofast.c

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Sep 6 05:28:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cf3677a7bcdf5a9e603c054bd40c1282db984a9
      https://github.com/llvm/llvm-project/commit/5cf3677a7bcdf5a9e603c054bd40c1282db984a9
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M clang/test/Driver/Ofast.c

  Log Message:
  -----------
  [clang] Pass -c to clang in test/Driver/Ofast.c

Without this, `-###` prints the linker invocation as well, which
can lead to `-Wno-msvc-not-found` warnings on Windows bots that
don't have MSVC on path, causing the test to fail.

Since the test isn't trying to test linker-related things, just
pass `-c`. See discussion on #98736.



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