Create dxc_D as alias to option D which Define <macro> to <value> (or 1 if <value> omitted).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM aside from a testing suggestion.
clang/test/Driver/dxc_D.hlsl | ||
---|---|---|
6 | Maybe we should also test that the macro is actually defined? |
Comment Actions
LGTM aside from a super minor nit with the test.
clang/test/Driver/dxc_D.hlsl | ||
---|---|---|
14 | You should add the newline back to the end of the test file. (Feel free to do that when you land the patch.) |
Comment Actions
Looks like this breaks tests on Mac: http://45.33.8.238/macm1/35103/step_7.txt
Please take a look and revert for now if it takes a while to fix.
Maybe we should also test that the macro is actually defined?