diff options
| author | Peter Steinfeld <psteinfeld@nvidia.com> | 2021-03-22 14:33:55 -0700 |
|---|---|---|
| committer | Peter Steinfeld <psteinfeld@nvidia.com> | 2021-03-22 14:52:45 -0700 |
| commit | e97d92f0bb998e7d93b4e91d550ba0492d9c414b (patch) | |
| tree | c8281263bdef3ef26eea15e0d54a7d3490d35bf7 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | bde995c9c2a0f73c69f1ca60b94bec0bebf20537 (diff) | |
[flang] Disallow erroneous procedure declarations
When writing tests for a previous problem, I ran across situations where we
were not producing error messages for declarations of specific procedures of
generic interfaces where every other compiler I tested (except nvfotran) did.
I added a check to CheckExtantExternal() and renamed it since it now checks for
erroneous extant symbols generally.
I also removed a call to this function from processing for ENTRY statements,
since it seemed unnecessary and its presence caused bogus error messages.
I also added some tests for erroneous declarations where we were not producing
error messages.
Differential Revision: https://reviews.llvm.org/D99111
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
