[all-commits] [llvm/llvm-project] fe3337: [flang] Preserve errors from generic matching
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jul 21 13:00:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe33374fbff267e54e543745b98f826e05c8bab8
https://github.com/llvm/llvm-project/commit/fe33374fbff267e54e543745b98f826e05c8bab8
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M flang/lib/Semantics/expression.cpp
A flang/test/Semantics/pure01.f90
Log Message:
-----------
[flang] Preserve errors from generic matching
When searching for a matching specific procedure for a set of actual
arguments in a type-bound generic interface for a defined operator,
don't discard any error messages that may have been produced for
the specific that was found. Tweak the code to preserve those
messages and add them to the context's messages, and add a test.
Differential Revision: https://reviews.llvm.org/D155966
More information about the All-commits
mailing list