[flang-commits] [flang] [flang] Add options -W[no-]unused-dummy-argument and -W[no-]unused-variable (PR #127214)

Jean-Didier PAILLEUX via flang-commits flang-commits at lists.llvm.org
Thu Feb 20 07:23:47 PST 2025


JDPailleux wrote:

> > > Does support for these options need to be added in the main driver?
> > 
> > 
> > There's no need to add these options warning in the main driver, as `OPT_W_Joined` already takes care of this and will now accept `[no]unused-dummy-argument` and `[no]unused-variable` as argument.
> 
> Do these warning flags appear in `flang --help`?

Yes here : `  -W<warning>             Enable the specified warning` (like in clang)


https://github.com/llvm/llvm-project/pull/127214


More information about the flang-commits mailing list