[HLSL] add -I option for dxc mode.
authorXiang Li <python3kgae@outlook.com>
Thu, 23 Jun 2022 21:07:07 +0000 (14:07 -0700)
committerXiang Li <python3kgae@outlook.com>
Wed, 20 Jul 2022 18:03:22 +0000 (11:03 -0700)
commita73a84c44753402b33d619035d2c5acec3b04859
treea949b1c7e6eeabef68e62a69342537ad08b0de6b
parentd76c8f51276fdd7829d5743b5b7874a76cd4b518
[HLSL] add -I option for dxc mode.

A new option -I is added for dxc mode.
It is just alias of existing cc1 -I option.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D128462
clang-tools-extra/clangd/CompileCommands.cpp
clang/include/clang/Driver/Options.h
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/dxc_I.hlsl [new file with mode: 0644]