[all-commits] [llvm/llvm-project] 4dae38: [HLSL] add -D option for dxc mode.

Xiang Li via All-commits all-commits at lists.llvm.org
Wed May 11 11:26:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dae38ebfba0d8583e52c3ded8f62f5f9fa77fda
      https://github.com/llvm/llvm-project/commit/4dae38ebfba0d8583e52c3ded8f62f5f9fa77fda
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/dxc_D.hlsl

  Log Message:
  -----------
  [HLSL] add -D option for dxc mode.

Create dxc_D as alias to option D which Define <macro> to <value> (or 1 if <value> omitted).

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list