[all-commits] [llvm/llvm-project] 3bc334: [flang] Fix crash in semantics in error recovery
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Sep 23 17:46:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3bc334b31a224f85a68ba7dfa5b4bd5fe57f1b3d
https://github.com/llvm/llvm-project/commit/3bc334b31a224f85a68ba7dfa5b4bd5fe57f1b3d
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
Log Message:
-----------
[flang] Fix crash in semantics in error recovery
When a FUNCTION statement has both an explicit type in its prefix
and a RESULT clause in its suffix, semantics crashes due to the
redundant type; emit a nice error message instead.
Differential Revision: https://reviews.llvm.org/D134504
More information about the All-commits
mailing list