Skip to content

Commit 0afa1af

Browse files
committed
[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`).
1 parent 2b47375 commit 0afa1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Option/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,9 @@ def emit_clang_header_path : Separate<["-"], "emit-clang-header-path">,
816816
Alias<emit_objc_header_path>;
817817

818818
def emit_clang_header_min_access : Separate<["-"], "emit-clang-header-min-access">,
819-
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath, CacheInvariant]>,
819+
Flags<[FrontendOption, NoInteractiveOption, CacheInvariant]>,
820820
MetaVarName<"<access-level>">,
821-
HelpText<"The minimum access level of declarations to include in the emitted header.>">;
821+
HelpText<"The minimum access level of declarations to include in the emitted header">;
822822

823823
def static : Flag<["-"], "static">,
824824
Flags<[FrontendOption, ModuleInterfaceOption, NoInteractiveOption]>,

0 commit comments

Comments
 (0)