[PATCH] D92854: [flang][driver] Add support for `-fsyntax-only`

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 11 08:29:34 PST 2020


awarzynski updated this revision to Diff 311231.
awarzynski added a comment.

Fine-tune the output for consistency with `flang`/`f18`

This is just a minor change to make sure that:

- `flang-new -fc1 -fsyntax-only`, and
- `f18 -fparse-only`

are as similar as possible.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92854/new/

https://reviews.llvm.org/D92854

Files:
  clang/include/clang/Driver/Options.td
  flang/include/flang/Frontend/CompilerInstance.h
  flang/include/flang/Frontend/FrontendActions.h
  flang/include/flang/Frontend/FrontendOptions.h
  flang/lib/Frontend/CMakeLists.txt
  flang/lib/Frontend/CompilerInstance.cpp
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/lib/Frontend/FrontendActions.cpp
  flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  flang/test/Flang-Driver/syntax-only.f90
  flang/unittests/Frontend/PrintPreprocessedTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92854.311231.patch
Type: text/x-patch
Size: 11279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/d9575246/attachment-0001.bin>


More information about the cfe-commits mailing list