diff options
author | Tim Keith <tkeith@nvidia.com> | 2020-03-17 13:02:17 -0700 |
---|---|---|
committer | Tim Keith <tkeith@nvidia.com> | 2020-03-17 16:01:59 -0700 |
commit | d1ce4d275f6a64c1cbe83d42ba56a99e9ee87a39 (patch) | |
tree | 552c6d382508896430b22d3ad596bf76390a4368 /flang/lib/Semantics/pointer-assignment.cpp | |
parent | 8aa62d81e811db87fd2e6145d8375026430c01e7 (diff) | |
download | llvm-d1ce4d275f6a64c1cbe83d42ba56a99e9ee87a39.zip llvm-d1ce4d275f6a64c1cbe83d42ba56a99e9ee87a39.tar.gz llvm-d1ce4d275f6a64c1cbe83d42ba56a99e9ee87a39.tar.bz2 |
[flang] Fix location of name of Symbol for ProcEntity
When we encounter a ProcDecl and a symbol for it has already been
created, replace the CharBlock for the name with the one in the ProcDecl
as it is the "main" declaration of that name. This matches what is done
for an EntityDecl.
This moves the location of some error messages to a better source
location so update the affected tests.
Original-commit: flang-compiler/f18@514c0f2c9477040f830fbf0495e4d38129648615
Reviewed-on: https://github.com/flang-compiler/f18/pull/1080
Tree-same-pre-rewrite: false
Diffstat (limited to 'flang/lib/Semantics/pointer-assignment.cpp')
0 files changed, 0 insertions, 0 deletions