[PATCH] D98657: [flang][driver] Add options for -Werror
Arnamoy B via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 23 09:14:25 PDT 2021
arnamoy10 updated this revision to Diff 332692.
arnamoy10 added a comment.
Thanks @awarzynski for the comments.
1. Moving diagnostics options parsing to a separate function
2. Adding a check so that `-Wblah` does not trigger the treatment of warnings as werrors, only `-Werror` triggers it
3. Adding a new test case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98657/new/
https://reviews.llvm.org/D98657
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Flang.cpp
flang/include/flang/Frontend/CompilerInvocation.h
flang/lib/Frontend/CompilerInvocation.cpp
flang/lib/Frontend/FrontendActions.cpp
flang/test/Driver/driver-help-hidden.f90
flang/test/Driver/driver-help.f90
flang/test/Driver/werror.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98657.332692.patch
Type: text/x-patch
Size: 8674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210323/be80455a/attachment.bin>
More information about the cfe-commits
mailing list