Skip to content

Commit 56bc7bf

Browse files
committed
driver: add an option to disable separately specifying Clang target
1 parent 32c57f2 commit 56bc7bf

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
@@ -1070,6 +1070,10 @@ def clang_target : Separate<["-"], "clang-target">,
10701070
Flags<[FrontendOption, SwiftAPIExtractOption, SwiftSymbolGraphExtractOption, SwiftAPIDigesterOption]>,
10711071
HelpText<"Separately set the target we should use for internal Clang instance">;
10721072

1073+
def disable_clang_target : Separate<["-"], "disable-clang-target">,
1074+
Flags<[NewDriverOnlyOption]>,
1075+
HelpText<"Disable a separately specified target triple for Clang instance to use">;
1076+
10731077
def profile_generate : Flag<["-"], "profile-generate">,
10741078
Flags<[FrontendOption, NoInteractiveOption]>,
10751079
HelpText<"Generate instrumented code to collect execution counts">;

0 commit comments

Comments
 (0)