From 0afa1aff2fd807806d4c1b128d972a373fb7a53d Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Fri, 7 Nov 2025 15:43:14 -0800 Subject: [PATCH] [cxx-interop] Fix-up `-emit-clang-header-min-access` flag This fixes a minor issue with the flag: its argument is not a actually a file system path (`ArgumentIsPath`). --- include/swift/Option/Options.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/swift/Option/Options.td b/include/swift/Option/Options.td index 85a11d114d03b..54cebe8f3ed7f 100644 --- a/include/swift/Option/Options.td +++ b/include/swift/Option/Options.td @@ -816,9 +816,9 @@ def emit_clang_header_path : Separate<["-"], "emit-clang-header-path">, Alias; def emit_clang_header_min_access : Separate<["-"], "emit-clang-header-min-access">, - Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath, CacheInvariant]>, + Flags<[FrontendOption, NoInteractiveOption, CacheInvariant]>, MetaVarName<"">, - HelpText<"The minimum access level of declarations to include in the emitted header.>">; + HelpText<"The minimum access level of declarations to include in the emitted header">; def static : Flag<["-"], "static">, Flags<[FrontendOption, ModuleInterfaceOption, NoInteractiveOption]>,