diff options
author | Peter Klausler <pklausler@nvidia.com> | 2021-11-02 16:41:15 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2021-11-08 11:19:20 -0800 |
commit | f411c1dd95092139c8b992260705ac0b75c8583f (patch) | |
tree | f0cfcd1413c6948e89cd2e0a77fe65d934b0edf6 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | c0b298fc213c1b33e97ca72fba58597365375875 (diff) | |
download | llvm-f411c1dd95092139c8b992260705ac0b75c8583f.zip llvm-f411c1dd95092139c8b992260705ac0b75c8583f.tar.gz llvm-f411c1dd95092139c8b992260705ac0b75c8583f.tar.bz2 |
[flang] Fix crash in semantic error recovery situation
A CHECK() in semantics is triggering when analyzing a program
with an undefined derived type pointer because the CHECK is
expecting a new error message to have been issued in a function
but not allowing for the case that a diagnostic could have been
produced earlier. Adjust the predicate.
Differential Revision: https://reviews.llvm.org/D113307
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions