[flang-commits] [PATCH] D128394: [flang] Fix wording of warning message

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jun 23 11:15:51 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdfaa3880e1f9: [flang] Fix wording of warning message (authored by klausler).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128394/new/

https://reviews.llvm.org/D128394

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, operation);
+      context.messages().Say("division by zero on %s"_warn_en_US, operation);
     }
   }
   if (flags.test(RealFlag::InvalidArgument)) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128394.439470.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220623/e7a35447/attachment-0001.bin>


More information about the flang-commits mailing list