[all-commits] [llvm/llvm-project] 994457: [Clang-CL][DXC] Expose -fdiagnostic-color= to clan...

Chris White via All-commits all-commits at lists.llvm.org
Fri Dec 20 14:12:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 994457f81ffd95531eff07e08a0fea42397b80d2
      https://github.com/llvm/llvm-project/commit/994457f81ffd95531eff07e08a0fea42397b80d2
  Author: Chris White <chriswhiteiodev at gmail.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c
    A clang/test/Driver/dxc_options.hlsl
    M clang/test/Driver/unknown-arg-drivermodes.test

  Log Message:
  -----------
  [Clang-CL][DXC] Expose -fdiagnostic-color= to clang-cl and clang-dxc (#120644)

Exposing `-fdiagnostic-color=` to clang-cl and clang-dxc.
`-fcolor-diagnostics` and `-fno-color-diagnostics` are already allowed
in both of these and `-fdiagnostics-color=` allows one additional value,
`auto`.

I've added the tests for clang-cl to `cl-options.c` as per the comments
in the issue linked below. I couldn't finding a suitable existing file
to add the clang-dxc tests to so I've created a new one.

Resolves #119184



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