[all-commits] [llvm/llvm-project] 525ff9: [flang] Don't check procedure pointer interface fu...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 9 08:45:52 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525ff9bd206d7fcd3fee01f31985cd0c9990bfbb
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp

  Log Message:
  [flang] Don't check procedure pointer interface function result specification expressions

When a procedure pointer references a function as its interface, don't
apply semantic checks to the specification expressions that appear in
the declaration of the function's result -- this can lead to bogus
error messages as those specification expressions are being examined
out of their proper context.

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

More information about the All-commits mailing list