diff options
author | Tim Keith <tkeith@nvidia.com> | 2020-12-18 17:43:51 -0800 |
---|---|---|
committer | Tim Keith <tkeith@nvidia.com> | 2020-12-18 17:43:53 -0800 |
commit | bf0870d8640df27b6bb082de0347008240cb0e67 (patch) | |
tree | 06af057904fa76ed9b1aaf5b07e0f0e206b5bc22 /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 44f399ccc12e27d20bae1ea7e712ef7f71e2ff3a (diff) | |
download | llvm-bf0870d8640df27b6bb082de0347008240cb0e67.zip llvm-bf0870d8640df27b6bb082de0347008240cb0e67.tar.gz llvm-bf0870d8640df27b6bb082de0347008240cb0e67.tar.bz2 |
[flang] Fix bug in IMPLICIT NONE(EXTERNAL)
We were only checking the restrictions of IMPLICIT NONE(EXTERNAL) when a
procedure name is first encountered. But it can also happen with an
existing symbol, e.g. if an external function's return type is declared
before is it called. This change adds a check in that branch too.
Differential Revision: https://reviews.llvm.org/D93552
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions