[CUDA] Relax restrictions on variadics in host-side compilation.
authorArtem Belevich <tra@google.com>
Wed, 24 May 2023 19:13:41 +0000 (12:13 -0700)
committerArtem Belevich <tra@google.com>
Thu, 25 May 2023 18:57:54 +0000 (11:57 -0700)
commit0ad5d40fa19f27db0e5f999d0e17b0c18b811019
tree73a384dcf714ee88bb97eb37f03febfa23bcc753
parentfe2f0ab37c33617c23e83d4999117e54fc34c14b
[CUDA] Relax restrictions on variadics in host-side compilation.

D150718 allows variadics during GPU compilation, but we also need to do it for
the host compilation as well, as it will see the same code.

Differential Revision: https://reviews.llvm.org/D151359
clang/lib/Driver/ToolChains/Clang.cpp