[flang-commits] [flang] f0162fc - [NFC] [Flang] [Semantics] [OpenMP] Fix typo in error message. (#110147)

via flang-commits flang-commits at lists.llvm.org
Thu Sep 26 10:58:14 PDT 2024


Author: Raghu Maddhipatla
Date: 2024-09-26T12:58:09-05:00
New Revision: f0162fcd7bf8bfbbc0a17b1a175801246f42f247

URL: https://github.com/llvm/llvm-project/commit/f0162fcd7bf8bfbbc0a17b1a175801246f42f247
DIFF: https://github.com/llvm/llvm-project/commit/f0162fcd7bf8bfbbc0a17b1a175801246f42f247.diff

LOG: [NFC] [Flang] [Semantics] [OpenMP] Fix typo in error message. (#110147)

Fix typo which should be "at least" instead of "at lease".

Added: 
    

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

Removed: 
    


################################################################################
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