diff options
author | Peter Steinfeld <psteinfeld@nvidia.com> | 2020-10-20 15:05:35 -0700 |
---|---|---|
committer | Peter Steinfeld <psteinfeld@nvidia.com> | 2020-10-20 18:09:15 -0700 |
commit | 29d838310d4521fbd98741267b0a28cee5b56a36 (patch) | |
tree | 9dcccc1cdc280d76fc62bae59a3656d8c3358315 /clang/lib/Basic/SourceManager.cpp | |
parent | 296314516d103f8eeb987a08b509c1381cfeef89 (diff) | |
download | llvm-29d838310d4521fbd98741267b0a28cee5b56a36.zip llvm-29d838310d4521fbd98741267b0a28cee5b56a36.tar.gz llvm-29d838310d4521fbd98741267b0a28cee5b56a36.tar.bz2 |
[flang] Fix call to CHECK() on erroneous subroutine declaration
When processing declarations in resolve-names.cpp, we were returning a
symbol that had SubprogramName details to PushSubprogramScope(), which
expects a symbol with Subprogram details.
I adjusted the code and added a test.
Differential Revision: https://reviews.llvm.org/D89829
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions