[PATCH] D16559: [CUDA] Add -fcuda-allow-variadic-functions.
Chad Rosier via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 26 11:24:22 PST 2016
mcrosier added inline comments.
Comment at: cfe/trunk/include/clang/Driver/CC1Options.td:681
@@ -680,1 +680,3 @@
HelpText<"Enable function overloads based on CUDA target attributes.">;
+def fcuda_allow_variadic_functions : Flag<["-"], "fcuda-allow-variadic-functions">,
+ HelpText<"Allow variadic functions in CUDA device code.">;
> mcrosier wrote:
> > mcrosier wrote:
> > > AFAICT, these are customer facing flags, correct? If so, shouldn't these options be hidden from the help (via the HelpHidden flag AFAICT)?
> > This might cause issues such as those reported in PR26317 and PR26318.
> These are cc1-only options and do *not* show up in top-level --help.
Ah, yes. You are correct.
More information about the cfe-commits