Skip to content

Commit 11e7bea

Browse files
committed
Comments
1 parent 8db1344 commit 11e7bea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/include/clang/Basic/DiagnosticDriverKinds.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ def err_drv_cuda_host_arch : Error<
116116
"unsupported architecture '%0' for host compilation">;
117117
def err_drv_mix_cuda_hip : Error<
118118
"mixed CUDA and HIP compilation is not supported">;
119-
def err_drv_mix_offload : Error<
120-
"mixed %0 and %1 offloading compilation is not supported">;
121119
def err_drv_bad_target_id : Error<
122120
"invalid target ID '%0'; format is a processor name followed by an optional "
123121
"colon-delimited list of features followed by an enable/disable sign (e.g., "

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ def fno_convergent_functions : Flag<["-"], "fno-convergent-functions">,
11381138

11391139
// Common offloading options
11401140
let Group = offload_Group in {
1141-
def offload_targets_EQ : Joined<["--"], "offload-targets=">,
1141+
def offload_targets_EQ : CommaJoined<["--"], "offload-targets=">,
11421142
Flags<[NoXarchOption]>, Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
11431143
HelpText<"Specify a list of target architectures to use for offloading.">;
11441144

0 commit comments

Comments
 (0)