[flang] Fix error message
A message has a %s string substitution in it but somebody (probably me) forgot to pass the argument that defines it. Differential Revision: https://reviews.llvm.org/D127794
This commit is contained in:
parent
272bf0fc41
commit
2815bacc91
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
context.messages().Say("division on %s"_warn_en_US, operation);
|
||||
}
|
||||
}
|
||||
if (flags.test(RealFlag::InvalidArgument)) {
|
||||
|
|
Loading…
Reference in a new issue