mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
[flang][driver] Make sure that -###
is marked as supported (NFC)
`-###` has always been supported in the new flang driver. This patch merely makes sure that it's included when printing the help screen (i.e. `flang-new -help`).
This commit is contained in:
parent
37f4ccb275
commit
fdbc7e505c
@ -398,7 +398,7 @@ def ccc_ : Joined<["-"], "ccc-">, Group<internal_Group>, Flags<[Unsupported]>;
|
|||||||
|
|
||||||
// Standard Options
|
// Standard Options
|
||||||
|
|
||||||
def _HASH_HASH_HASH : Flag<["-"], "###">, Flags<[NoXarchOption, CoreOption]>,
|
def _HASH_HASH_HASH : Flag<["-"], "###">, Flags<[NoXarchOption, CoreOption, FlangOption]>,
|
||||||
HelpText<"Print (but do not run) the commands to run for this compilation">;
|
HelpText<"Print (but do not run) the commands to run for this compilation">;
|
||||||
def _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>,
|
def _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>,
|
||||||
Flags<[NoXarchOption, CoreOption]>;
|
Flags<[NoXarchOption, CoreOption]>;
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
! CHECK:USAGE: flang-new
|
! CHECK:USAGE: flang-new
|
||||||
! CHECK-EMPTY:
|
! CHECK-EMPTY:
|
||||||
! CHECK-NEXT:OPTIONS:
|
! CHECK-NEXT:OPTIONS:
|
||||||
|
! CHECK-NEXT: -### Print (but do not run) the commands to run for this compilation
|
||||||
! CHECK-NEXT: -E Only run the preprocessor
|
! CHECK-NEXT: -E Only run the preprocessor
|
||||||
! CHECK-NEXT: -fcolor-diagnostics Enable colors in diagnostics
|
! CHECK-NEXT: -fcolor-diagnostics Enable colors in diagnostics
|
||||||
! CHECK-NEXT: -fno-color-diagnostics Disable colors in diagnostics
|
! CHECK-NEXT: -fno-color-diagnostics Disable colors in diagnostics
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
! HELP:USAGE: flang-new
|
! HELP:USAGE: flang-new
|
||||||
! HELP-EMPTY:
|
! HELP-EMPTY:
|
||||||
! HELP-NEXT:OPTIONS:
|
! HELP-NEXT:OPTIONS:
|
||||||
|
! HELP-NEXT: -### Print (but do not run) the commands to run for this compilation
|
||||||
! HELP-NEXT: -E Only run the preprocessor
|
! HELP-NEXT: -E Only run the preprocessor
|
||||||
! HELP-NEXT: -fcolor-diagnostics Enable colors in diagnostics
|
! HELP-NEXT: -fcolor-diagnostics Enable colors in diagnostics
|
||||||
! HELP-NEXT: -fno-color-diagnostics Disable colors in diagnostics
|
! HELP-NEXT: -fno-color-diagnostics Disable colors in diagnostics
|
||||||
|
Loading…
Reference in New Issue
Block a user