forked from OSchip/llvm-project
[flang] Fix wording of warning message
"division on intrinsic call" should read "division by zero on intrinsic call". Differential Revision: https://reviews.llvm.org/D128394
This commit is contained in:
parent
466eae6aa3
commit
dfaa3880e1
|
@ -22,7 +22,7 @@ void RealFlagWarnings(
|
|||
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)) {
|
||||
|
|
Loading…
Reference in New Issue