From b2a04aad0eb47546604b5c28a7675c2f8a5f1ea3 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Wed, 7 Jun 2023 11:07:07 -0700 Subject: [PATCH] [cxx-interop][driver] make '-emit-clang-header-path' a fully supported driver flag This will let other build systems call it without relying on the frontend flag --- include/swift/Option/Options.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/swift/Option/Options.td b/include/swift/Option/Options.td index ce504744911ea..984d69949697f 100644 --- a/include/swift/Option/Options.td +++ b/include/swift/Option/Options.td @@ -633,7 +633,7 @@ def emit_clang_header_nonmodular_includes : Flag<["-"], "emit-clang-header-nonmo HelpText<"Augment emitted Objective-C header with textual imports for every included modular import">; def emit_clang_header_path : Separate<["-"], "emit-clang-header-path">, - Flags<[FrontendOption, NoDriverOption, NoInteractiveOption, ArgumentIsPath, + Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath, SupplementaryOutput]>, HelpText<"Emit an Objective-C and C++ header file to ">, Alias;