[PATCH] D16559: [CUDA] Add -fcuda-allow-variadic-functions.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 9 14:28:30 PDT 2023
tra added a comment.
In D16559#4410067 <https://reviews.llvm.org/D16559#4410067>, @garymm wrote:
> Could you please add this to the documentation?
> Could this be made the default? It seems like nvcc does this by default.
Clang already does that, though we only allow variadic functions that don't actually use the vararg arguments: https://reviews.llvm.org/D151359
It's sufficient to compile recent CUDA/libcu++ headers w/o errors.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D16559/new/
https://reviews.llvm.org/D16559
More information about the cfe-commits
mailing list