Skip to content

Commit 509c498

Browse files
authored
Merge pull request #37817 from nkcsgexi/disable-clang-target
driver: add an option to disable separately specifying Clang target
2 parents 5a6ee21 + cc59279 commit 509c498

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/Option/Options.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,10 @@ def clang_target : Separate<["-"], "clang-target">,
10861086
Flags<[FrontendOption, SwiftAPIExtractOption, SwiftSymbolGraphExtractOption, SwiftAPIDigesterOption]>,
10871087
HelpText<"Separately set the target we should use for internal Clang instance">;
10881088

1089+
def disable_clang_target : Separate<["-"], "disable-clang-target">,
1090+
Flags<[NewDriverOnlyOption]>,
1091+
HelpText<"Disable a separately specified target triple for Clang instance to use">;
1092+
10891093
def profile_generate : Flag<["-"], "profile-generate">,
10901094
Flags<[FrontendOption, NoInteractiveOption]>,
10911095
HelpText<"Generate instrumented code to collect execution counts">;

0 commit comments

Comments
 (0)