[all-commits] [llvm/llvm-project] e49dc2: [flang][driver] Add checks for errors from `Presca...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Wed Jan 6 02:20:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e49dc2981cb311ac2b696ebb016fac9a8cd60922
https://github.com/llvm/llvm-project/commit/e49dc2981cb311ac2b696ebb016fac9a8cd60922
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-01-06 (Wed, 06 Jan 2021)
Changed paths:
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Frontend/FrontendActions.cpp
A flang/test/Flang-Driver/parse-error.f95
A flang/test/Flang-Driver/scanning-error.f95
Log Message:
-----------
[flang][driver] Add checks for errors from `Prescan` and `Parse`
If either `Prescan` or `Parse` generate any fatal errors, the new driver
will:
* report it (i.e. issue an error diagnostic)
* exit early
* return non-zero exit code
This behaviour is consistent with f18 (i.e. the old driver).
Reviewed By: sameeranjoshi
Differential Revision: https://reviews.llvm.org/D93712
More information about the All-commits
mailing list