[PATCH] D16559: [CUDA] Add -fcuda-allow-variadic-functions.

Chad Rosier via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 11:01:23 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:
> 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.


Repository:
  rL LLVM

http://reviews.llvm.org/D16559





More information about the cfe-commits mailing list