diff options
author | Peter Steinfeld <psteinfeld@nvidia.com> | 2020-09-11 11:02:04 -0700 |
---|---|---|
committer | Peter Steinfeld <psteinfeld@nvidia.com> | 2020-09-11 11:58:53 -0700 |
commit | 398fcf224b8dd0968f27cdcc7e75bb0bc8ed6d09 (patch) | |
tree | 1f4cd0358a3dd64eed52d58628070a7d2c95c482 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 238ae4eee05187758e42c00af237592612d585c2 (diff) | |
download | llvm-398fcf224b8dd0968f27cdcc7e75bb0bc8ed6d09.zip llvm-398fcf224b8dd0968f27cdcc7e75bb0bc8ed6d09.tar.gz llvm-398fcf224b8dd0968f27cdcc7e75bb0bc8ed6d09.tar.bz2 |
[flang] Fix bug for forward referenced type
A type name in an IMPLICIT declaration that was later used in a PARAMETER
statement caused problems because the default symbol scope had not yet been
initialized. I avoided dereferencing in the situation where the default scope
was uninitialized and added a test that triggers the problem.
Differential Revision: https://reviews.llvm.org/D87535
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions