From 8d394b8f44ebed83284930692003a22f7047a0d0 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 (cherry picked from commit b2a04aad0eb47546604b5c28a7675c2f8a5f1ea3) --- 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 0da414ff00441..67f1946e722c4 100644 --- a/include/swift/Option/Options.td +++ b/include/swift/Option/Options.td @@ -626,7 +626,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;