[all-commits] [llvm/llvm-project] 251d06: [flang] Convert RUNTIME_CHECK to better error for ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Mar 18 16:52:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 251d062e4e2737d88ba53e65969b210f2830c4df
https://github.com/llvm/llvm-project/commit/251d062e4e2737d88ba53e65969b210f2830c4df
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-03-18 (Fri, 18 Mar 2022)
Changed paths:
M flang/runtime/transformational.cpp
Log Message:
-----------
[flang] Convert RUNTIME_CHECK to better error for user errors in transformational.cpp
In flang/runtime/transformational.cpp, there are many RUNTIME_CHECK assertions
for errors that should have been caught in semantics, but there are alno others
that signify program errors that in principle cannot be detected until
execution. Convert this second group into readable fatal error messages.
Also clean up some missing braces and incorrect printf formats found
along the way.
Differential Revision: https://reviews.llvm.org/D122037
More information about the All-commits
mailing list