aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2024-09-30 12:37:23 -0700
committerGitHub <noreply@github.com>2024-09-30 12:37:23 -0700
commitb5aea32920ee6874bbdc7d6414039adce1b6c19a (patch)
tree24fad90eb1677186602d7ce25b54c34ffee0c02d /flang/lib/Frontend/CompilerInvocation.cpp
parent1094ee71da533929cebb7ce98fd2665c924387a7 (diff)
downloadllvm-b5aea32920ee6874bbdc7d6414039adce1b6c19a.zip
llvm-b5aea32920ee6874bbdc7d6414039adce1b6c19a.tar.gz
llvm-b5aea32920ee6874bbdc7d6414039adce1b6c19a.tar.bz2
[flang] Improve error recovery for bad statement after CONTAINS (#109698)
After a CONTAINS statement in a program unit, a statement that cannot begin a subprogram will trigger catastrophic error recovery. But the compiler is presently emitting multiple errors for the same location about expected variations of END statements. Emit fewer messages. Fixes https://github.com/llvm/llvm-project/issues/109609.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions