[PATCH] D98657: [flang][driver] Add options for -Werror

Arnamoy B via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 5 07:04:33 PDT 2021


arnamoy10 updated this revision to Diff 335246.
arnamoy10 added a comment.

1. Separated test cases to check prescan, parse and sema differently.
2. Diagnostics is thrown when anything other that `error` is given for `-W`.  This behaviour is reflected in `f18


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_parse.f
  flang/test/Driver/werror_scan.f
  flang/test/Driver/werror_sema.f90
  flang/test/Driver/werror_wrong.f90
  flang/tools/f18/f18.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98657.335246.patch
Type: text/x-patch
Size: 15250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210405/9db63eb5/attachment-0001.bin>


More information about the cfe-commits mailing list