[flang-commits] [PATCH] D127794: [flang] Fix error message
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Jun 15 15:30:39 PDT 2022
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2815bacc9157: [flang] Fix error message (authored by klausler).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127794/new/
https://reviews.llvm.org/D127794
Files:
flang/lib/Evaluate/common.cpp
Index: flang/lib/Evaluate/common.cpp
===================================================================
--- flang/lib/Evaluate/common.cpp
+++ flang/lib/Evaluate/common.cpp
@@ -22,7 +22,7 @@
if (std::strcmp(operation, "division") == 0) {
context.messages().Say("division by zero"_warn_en_US);
} else {
- context.messages().Say("division on %s"_warn_en_US);
+ context.messages().Say("division on %s"_warn_en_US, operation);
}
}
if (flags.test(RealFlag::InvalidArgument)) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127794.437369.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220615/d2a60199/attachment.bin>
More information about the flang-commits
mailing list