[all-commits] [llvm/llvm-project] f8b012: [Clang][Driver] default-on include path backslash ...

Rose Hudson via All-commits all-commits at lists.llvm.org
Tue Jun 9 07:43:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8b0120edb7f19b30870462299e5f7eb0e40f656
      https://github.com/llvm/llvm-project/commit/f8b0120edb7f19b30870462299e5f7eb0e40f656
  Author: Rose Hudson <rose.hudson at sony.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.h
    M clang/test/Driver/ps4-ps5-toolchain.c

  Log Message:
  -----------
  [Clang][Driver] default-on include path backslash warning on PS5 (#202300)

It seems like there is precedent for using addClangWarningOptions in the
driver to set warning default states per-target, in e.g. AMDGPU.

These warnings are usually disabled by default to avoid overdiagnosing
common patterns on Windows host+target builds which don't care about
portability. Since PS5 builds are cross-compiled it makes less sense to
assume things about the host, so we want to diagnose portability issues
more eagerly.



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