mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[frontend] Restructure FrontendOptions.td into separate [FrontendOption, NoDriverOption] and [FrontendOption, NoDriverOption, HelpHidden] sections.
Swift SVN r11319
This commit is contained in:
@@ -16,36 +16,38 @@
|
||||
|
||||
let Flags = [FrontendOption, NoDriverOption] in {
|
||||
|
||||
def debug_constraints : Flag<["-"], "debug-constraints">,
|
||||
Flags<[HelpHidden]>, HelpText<"Debug the constraint-based type checker">;
|
||||
|
||||
def debug_constraints_attempt : Separate<["-"], "debug-constraints-attempt">,
|
||||
Flags<[HelpHidden]>,
|
||||
HelpText<"Debug the constraint solver at a given attempt">;
|
||||
def debug_constraints_attempt_EQ : Joined<["-"], "debug-constraints-attempt=">,
|
||||
Flags<[HelpHidden]>, Alias<debug_constraints_attempt>;
|
||||
|
||||
def delayed_function_body_parsing :
|
||||
Flag<["-"], "delayed-function-body-parsing">,
|
||||
HelpText<"Delay function body parsing until the end of all files">;
|
||||
|
||||
def emit_sil_protocol_witness_tables :
|
||||
Flag<["-"], "emit-sil-protocol-witness-tables">, Flags<[HelpHidden]>,
|
||||
HelpText<"Emit experimental SIL protocol witness tables">;
|
||||
|
||||
def emit_verbose_sil : Flag<["-"], "emit-verbose-sil">,
|
||||
Flags<[HelpHidden]>, HelpText<"Emit locations during SIL emission">;
|
||||
|
||||
def print_stats : Flag<["-"], "print-stats">,
|
||||
Flags<[HelpHidden]>, HelpText<"Print various statistics">;
|
||||
|
||||
def use_malloc : Flag<["-"], "use-malloc">,
|
||||
Flags<[HelpHidden]>,
|
||||
HelpText<"Allocate internal data structures using malloc "
|
||||
"(for memory debugging)">;
|
||||
|
||||
def verify : Flag<["-"], "verify">,
|
||||
HelpText<"Verify diagnostics against expected-{error|warning|note} "
|
||||
"annotations">;
|
||||
|
||||
} // end let Flags = [FrontendOption, NoDriverOption]
|
||||
|
||||
let Flags = [FrontendOption, NoDriverOption, HelpHidden] in {
|
||||
|
||||
def debug_constraints : Flag<["-"], "debug-constraints">,
|
||||
HelpText<"Debug the constraint-based type checker">;
|
||||
|
||||
def debug_constraints_attempt : Separate<["-"], "debug-constraints-attempt">,
|
||||
HelpText<"Debug the constraint solver at a given attempt">;
|
||||
def debug_constraints_attempt_EQ : Joined<["-"], "debug-constraints-attempt=">,
|
||||
Alias<debug_constraints_attempt>;
|
||||
|
||||
def emit_sil_protocol_witness_tables :
|
||||
Flag<["-"], "emit-sil-protocol-witness-tables">,
|
||||
HelpText<"Emit experimental SIL protocol witness tables">;
|
||||
|
||||
def emit_verbose_sil : Flag<["-"], "emit-verbose-sil">,
|
||||
HelpText<"Emit locations djuring SIL emission">;
|
||||
|
||||
def print_stats : Flag<["-"], "print-stats">,
|
||||
HelpText<"Print various statistics">;
|
||||
|
||||
def use_malloc : Flag<["-"], "use-malloc">,
|
||||
HelpText<"Allocate internal data structures using malloc "
|
||||
"(for memory debugging)">;
|
||||
|
||||
} // end let Flags = [FrontendOption, NoDriverOption, HelpHidden]
|
||||
|
||||
Reference in New Issue
Block a user