[PATCH] D156436: [llvm/OptTable] Print options without documentation

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 07:54:37 PDT 2023


awarzynski added inline comments.


================
Comment at: flang/test/Driver/driver-help-hidden.f90:51
+! CHECK-NEXT: -fno-automatic          Implies the SAVE attribute for non-automatic local objects in subprograms unless RECURSIVE
+! CHECK-NEXT: -fno-backslash
 ! CHECK-NEXT: -fno-color-diagnostics  Disable colors in diagnostics
----------------
IMHO, printing (no help text for the `-fno-<option>` variant):
```
-fno-backslash 
```
on top of:
```
 -fbackslash   Specify that backslash in string introduces an escape character
```
is of little value. To me this is noise that we should avoid. If both `-fbackslash ` and `-fno-backslash ` are printed, then both should contain "help" text.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156436/new/

https://reviews.llvm.org/D156436



More information about the llvm-commits mailing list