aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorPeter Steinfeld <psteinfeld@nvidia.com>2020-10-20 15:05:35 -0700
committerPeter Steinfeld <psteinfeld@nvidia.com>2020-10-20 18:09:15 -0700
commit29d838310d4521fbd98741267b0a28cee5b56a36 (patch)
tree9dcccc1cdc280d76fc62bae59a3656d8c3358315 /clang/lib/Basic/SourceManager.cpp
parent296314516d103f8eeb987a08b509c1381cfeef89 (diff)
downloadllvm-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