aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@arm.com>2021-01-06 09:54:30 +0000
committerAndrzej Warzynski <andrzej.warzynski@arm.com>2021-01-06 10:19:44 +0000
commite49dc2981cb311ac2b696ebb016fac9a8cd60922 (patch)
treedbc52548e917908e52c2f553aad96656c7197638 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent78d8a821e23e42d13dcbb3467747e480fb889b8a (diff)
downloadllvm-e49dc2981cb311ac2b696ebb016fac9a8cd60922.zip
llvm-e49dc2981cb311ac2b696ebb016fac9a8cd60922.tar.gz
llvm-e49dc2981cb311ac2b696ebb016fac9a8cd60922.tar.bz2
[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
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions