[all-commits] [llvm/llvm-project] d3e472: [HLSL] add -D option for dxc mode.
Xiang Li via All-commits
all-commits at lists.llvm.org
Tue May 31 17:50:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3e4727907e533a088fdb42963b6efcd1f26ec88
https://github.com/llvm/llvm-project/commit/d3e4727907e533a088fdb42963b6efcd1f26ec88
Author: Xiang Li <python3kgae at outlook.com>
Date: 2022-05-31 (Tue, 31 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