[all-commits] [llvm/llvm-project] a8f51e: [flang][driver] Report prescanning diags during sy...

Faris via All-commits all-commits at lists.llvm.org
Wed Jan 27 02:33:00 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8f51ea2120bc454e3e3ece6995febe47fbb98d1
      https://github.com/llvm/llvm-project/commit/a8f51ea2120bc454e3e3ece6995febe47fbb98d1
  Author: Faris Rehman <faris.rehman at arm.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    R flang/test/Frontend/preprocessor-diag.f90
    A flang/test/Frontend/prescanner-diag.f90

  Log Message:
  -----------
  [flang][driver] Report prescanning diags during syntax-only parsing

Ensure diagnostics from the prescanner are reported when running `flang-new -fsyntax-only` (i.e. only syntax parsing).
This keeps the diagnostics output of flang-new consistent with `f18 -fparse-only` when running the syntax parsing action, ParseSyntaxOnlyAction.

Summary of changes:
- Modify ParseSyntaxOnlyAction::ExecuteAction to report diagnostics

Differential Revision: https://reviews.llvm.org/D95220




More information about the All-commits mailing list