Closed
Description
Clang's driver library doesn't print -fsyntax-only
or -O{0|1|2|3}
options when using the -help
option. This can be reproduced with clang
as well as flang-new
(which is built in terms of clangDriver
):
$ clang -help | grep syntax
-objcmt-migrate-property-dot-syntax
Enable migration of setter/getter messages to property-dot syntax
$
(-fsyntax-only
is missing). I suspect that this might affect other options too. Printing happens via OptTable::printHelp, but I don't see any obvious issues with that method.
This isn't that noticeable in Clang as clang -help | wc -l
gives me ~1200. But for flang-new
this is ~50. Checked with 333f98b.
Thanks,
-Andrzej