@@ -5671,7 +5671,7 @@ void OmpStructureChecker::Enter(const parser::OpenMPInteropConstruct &x) {
56715671 if (llvm::is_contained (objectSymbolList, objectSymbol)) {
56725672 context_.Say (
56735673 GetContext ().directiveSource ,
5674- " Each interop-var may be specified for at most one action-clause of each interop construct." _err_en_US);
5674+ " Each interop-var may be specified for at most one action-clause of each INTEROP construct." _err_en_US);
56755675 } else {
56765676 objectSymbolList.insert (objectSymbol);
56775677 }
@@ -5687,7 +5687,7 @@ void OmpStructureChecker::Enter(const parser::OpenMPInteropConstruct &x) {
56875687 if (llvm::is_contained (objectSymbolList, objectSymbol)) {
56885688 context_.Say (
56895689 GetContext ().directiveSource ,
5690- " Each interop-var may be specified for at most one action-clause of each interop construct." _err_en_US);
5690+ " Each interop-var may be specified for at most one action-clause of each INTEROP construct." _err_en_US);
56915691 } else {
56925692 objectSymbolList.insert (objectSymbol);
56935693 }
@@ -5700,7 +5700,7 @@ void OmpStructureChecker::Enter(const parser::OpenMPInteropConstruct &x) {
57005700 if (llvm::is_contained (objectSymbolList, objectSymbol)) {
57015701 context_.Say (
57025702 GetContext ().directiveSource ,
5703- " Each interop-var may be specified for at most one action-clause of each interop construct." _err_en_US);
5703+ " Each interop-var may be specified for at most one action-clause of each INTEROP construct." _err_en_US);
57045704 } else {
57055705 objectSymbolList.insert (objectSymbol);
57065706 }
@@ -5716,7 +5716,7 @@ void OmpStructureChecker::Enter(const parser::OpenMPInteropConstruct &x) {
57165716 if (isDependClauseOccured && !targetSyncCount) {
57175717 context_.Say (
57185718 GetContext ().directiveSource ,
5719- " A depend clause can only appear on the directive if the interop-type includes targetsync " _err_en_US);
5719+ " A DEPEND clause can only appear on the directive if the interop-type includes TARGETSYNC " _err_en_US);
57205720 }
57215721}
57225722
0 commit comments