[all-commits] [llvm/llvm-project] 07f2cd: [flang] Improve error message for attempted assign...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 18 15:23:24 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07f2cd6d04180d0720e41da1715fcc53c5e07744
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/assign04.f90

  Log Message:
  [flang] Improve error message for attempted assignment to a procedure

Emit a "Assignment to procedure 'foo' is not allowed" error message
for more cases of 'foo' than just declaraed subprograms, rather than
assuming that those additional cases were named constants.

Differential Revision: https://reviews.llvm.org/D132165

More information about the All-commits mailing list