Skip to content

Commit 48ee6c1

Browse files
Add comment in Options.td
1 parent ae02915 commit 48ee6c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def FC1Option : OptionVisibility;
107107
// are made available when the driver is running in DXC compatibility mode.
108108
def DXCOption : OptionVisibility;
109109

110+
// SYCLRTCOnlyOption - only acceptable for the SYCL RTC (Run Time Compilation).
110111
def SYCLRTCOnlyOption : OptionVisibility;
111112

112113
/////////
@@ -7518,6 +7519,8 @@ def fsyclbin : Flag<["-"], "fsyclbin">, Alias<fsyclbin_EQ>,
75187519
AliasArgs<["executable"]>;
75197520
} // let Group = sycl_Group
75207521

7522+
// Options specific to the SYCL RTC and only available for JIT compilation (not
7523+
// through regular `clang++ -fsycl` in command line):
75217524
let Visibility = [SYCLRTCOnlyOption] in {
75227525
let Group = sycl_rtc_only_Group in {
75237526
def auto_pch : Flag<["--"], "auto-pch">,

0 commit comments

Comments
 (0)