[flang-commits] [flang] [NFC] [Flang] [Semantics] [OpenMP] Fix typo in error message. (PR #110147)
Raghu Maddhipatla via flang-commits
flang-commits at lists.llvm.org
Thu Sep 26 10:28:17 PDT 2024
https://github.com/raghavendhra created https://github.com/llvm/llvm-project/pull/110147
Fix typo which should be "at least" instead of "at lease"
>From a0ba7247811eccd78909b5a730fd21ae725aedb3 Mon Sep 17 00:00:00 2001
From: Raghu Maddhipatla <Raghu.Maddhipatla at amd.com>
Date: Thu, 26 Sep 2024 12:21:02 -0500
Subject: [PATCH] [NFC] [Flang] [Semantics] [OpenMP] Fix typo in error message.
---
flang/lib/Semantics/check-omp-structure.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flang/lib/Semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index fd58f6525a26d8..2943ee5dd75526 100644
--- a/flang/lib/Semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -1247,7 +1247,7 @@ void OmpStructureChecker::Leave(const parser::OmpDeclareTargetWithClause &x) {
FindClause(llvm::omp::Clause::OMPC_link);
if (!enterClause && !toClause && !linkClause) {
context_.Say(x.source,
- "If the DECLARE TARGET directive has a clause, it must contain at lease one ENTER clause or LINK clause"_err_en_US);
+ "If the DECLARE TARGET directive has a clause, it must contain at least one ENTER clause or LINK clause"_err_en_US);
}
if (toClause && context_.ShouldWarn(common::UsageWarning::OpenMPUsage)) {
context_.Say(toClause->source,
More information about the flang-commits
mailing list