aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2024-10-07 13:16:46 -0700
committerGitHub <noreply@github.com>2024-10-07 13:16:46 -0700
commit8882d5912322ce9c199181e46b8c07d24ed6095d (patch)
tree906932f48a143b0e2c8ec2a05983ac7ce17eeaac
parent9dca83f2e1f20919a06dd58acd345e2a49e13d9a (diff)
downloadllvm-8882d5912322ce9c199181e46b8c07d24ed6095d.zip
llvm-8882d5912322ce9c199181e46b8c07d24ed6095d.tar.gz
llvm-8882d5912322ce9c199181e46b8c07d24ed6095d.tar.bz2
[flang] Fix typo in warning message text (#110888)
I accidentally deleted a space character; put it back.
-rw-r--r--flang/lib/Semantics/check-call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/lib/Semantics/check-call.cpp b/flang/lib/Semantics/check-call.cpp
index 28a12a5..585ca8b 100644
--- a/flang/lib/Semantics/check-call.cpp
+++ b/flang/lib/Semantics/check-call.cpp
@@ -265,7 +265,7 @@ static void ConvertIntegerActual(evaluate::Expr<evaluate::SomeType> &actual,
if (!semanticsContext.IsEnabled(
common::LanguageFeature::ActualIntegerConvertedToSmallerKind)) {
messages.Say(
- "Actual argument scalar expression of type INTEGER(%d) cannot beimplicitly converted to smaller dummy argument type INTEGER(%d)"_err_en_US,
+ "Actual argument scalar expression of type INTEGER(%d) cannot be implicitly converted to smaller dummy argument type INTEGER(%d)"_err_en_US,
actualType.type().kind(), dummyType.type().kind());
} else if (semanticsContext.ShouldWarn(common::LanguageFeature::
ActualIntegerConvertedToSmallerKind)) {