[PATCH] D95220: [flang][driver] Report prescanning diags during syntax-only parsing
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 07:35:28 PST 2021
awarzynski added inline comments.
================
Comment at: flang/test/Frontend/prescanner-diag.f90:3
! RUN: %flang-new -E -I %S/Inputs/ %s 2>&1 | FileCheck %s
+! RUN: %flang-new -fsyntax-only -I %S/Inputs/ %s 2>&1 | FileCheck %s
! RUN: %flang-new -fc1 -E -I %S/Inputs/ %s 2>&1 | FileCheck %s
----------------
In this test we want to make sure that `f18` and `flang-new` behave similarly in the context of generating diagnostics. As per our [[https://docs.google.com/spreadsheets/d/1JRe39lP_KhtkYxFEIvwrCFlE5v1Ofa_krOHI-XXXWPY/edit#gid=0 | spreadsheet ]]:
* `flang-new -fsyntax-only` and
* `f18 -fparse-only`
should behave similarly. Could you add `RUN` line with `f18 -parse-only`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95220/new/
https://reviews.llvm.org/D95220
More information about the llvm-commits
mailing list