Skip to content

Commit 6d39547

Browse files
author
Yuanke Luo
committed
[Clang] Remove CUDAAllowVariadicFunctions
1 parent 8a69808 commit 6d39547

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/include/clang/Basic/LangOptions.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ LANGOPT(HLSLStrictAvailability, 1, 0, NotCompatible,
245245
LANGOPT(HLSLSpvUseUnknownImageFormat, 1, 0, NotCompatible, "For storage images and texel buffers, sets the default format to 'Unknown' when not specified via the `vk::image_format` attribute. If this option is not used, the format is inferred from the resource's data type.")
246246

247247
LANGOPT(CUDAIsDevice , 1, 0, NotCompatible, "compiling for CUDA device")
248-
LANGOPT(CUDAAllowVariadicFunctions, 1, 0, NotCompatible, "allowing variadic functions in CUDA device code")
249248
LANGOPT(CUDAHostDeviceConstexpr, 1, 1, NotCompatible, "treating unattributed constexpr functions as __host__ __device__")
250249
LANGOPT(GPUDeviceApproxTranscendentals, 1, 0, NotCompatible, "using approximate transcendental functions")
251250
LANGOPT(GPURelocatableDeviceCode, 1, 0, NotCompatible, "generate relocatable device code")

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8729,8 +8729,7 @@ def fcuda_include_gpubinary : Separate<["-"], "fcuda-include-gpubinary">,
87298729
HelpText<"Incorporate CUDA device-side binary into host object file.">,
87308730
MarshallingInfoString<CodeGenOpts<"CudaGpuBinaryFileName">>;
87318731
def fcuda_allow_variadic_functions : Flag<["-"], "fcuda-allow-variadic-functions">,
8732-
HelpText<"Deprecated; Allow variadic functions in CUDA device code.">, Flags<[HelpHidden]>,
8733-
MarshallingInfoFlag<LangOpts<"CUDAAllowVariadicFunctions">>;
8732+
HelpText<"Deprecated; Allow variadic functions in CUDA device code.">;
87348733
def fno_cuda_host_device_constexpr : Flag<["-"], "fno-cuda-host-device-constexpr">,
87358734
HelpText<"Don't treat unattributed constexpr functions as __host__ __device__.">,
87368735
MarshallingInfoNegativeFlag<LangOpts<"CUDAHostDeviceConstexpr">>;

0 commit comments

Comments
 (0)