Skip to content

Commit f0162fc

Browse files
authored
[NFC] [Flang] [Semantics] [OpenMP] Fix typo in error message. (llvm#110147)
Fix typo which should be "at least" instead of "at lease".
1 parent f5b95db commit f0162fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/check-omp-structure.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ void OmpStructureChecker::Leave(const parser::OmpDeclareTargetWithClause &x) {
12471247
FindClause(llvm::omp::Clause::OMPC_link);
12481248
if (!enterClause && !toClause && !linkClause) {
12491249
context_.Say(x.source,
1250-
"If the DECLARE TARGET directive has a clause, it must contain at lease one ENTER clause or LINK clause"_err_en_US);
1250+
"If the DECLARE TARGET directive has a clause, it must contain at least one ENTER clause or LINK clause"_err_en_US);
12511251
}
12521252
if (toClause && context_.ShouldWarn(common::UsageWarning::OpenMPUsage)) {
12531253
context_.Say(toClause->source,

0 commit comments

Comments
 (0)