[PATCH] D143301: [flang] Handle unsupported warning flags
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 21 09:17:08 PST 2023
awarzynski added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:5045
+// Unsupported flang W options
+defm : FlangIgnoredDiagOpt<"extra">;
----------------
The name of the sub-project is "Flang", the sub-dir is "flang" and the driver name is "flang-new". What is "flang" referring to in this comment?
Also, "-W<arg> options" would be IMHO a bit more descriptive.
================
Comment at: clang/include/clang/Driver/Options.td:5047
+defm : FlangIgnoredDiagOpt<"extra">;
+defm : FlangIgnoredDiagOpt<"aliasing">;
+defm : FlangIgnoredDiagOpt<"ampersand">;
----------------
How about a test for all the options that follow `-Wextra`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143301/new/
https://reviews.llvm.org/D143301
More information about the cfe-commits
mailing list