[PATCH] D16559: [CUDA] Add -fcuda-allow-variadic-functions.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 25 14:19:08 PST 2016
jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added subscribers: bkramer, echristo, jhen, cfe-commits.
Turns out the variadic function checking added in r258643 was too strict
for some existing users; give them an escape valve. When
-fcuda-allow-variadic-functions is passed, the front-end makes no
attempt to disallow C-style variadic functions. Calls to va_arg are
still not allowed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4762 bytes
Desc: not available
More information about the cfe-commits