Skip to content

Commit 7e54af8

Browse files
committed
Fix directive name in message
1 parent 38cf6a6 commit 7e54af8

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
@@ -1377,7 +1377,7 @@ void OmpStructureChecker::Enter(const parser::OmpDeclareVariantDirective &x) {
13771377

13781378
auto InvalidArgument{[&](parser::CharBlock source) {
13791379
context_.Say(source,
1380-
"The argument to the DECLARE_MAPPER directive should be [base-name:]variant-name"_err_en_US);
1380+
"The argument to the DECLARE_VARIANT directive should be [base-name:]variant-name"_err_en_US);
13811381
}};
13821382

13831383
auto CheckSymbol{[&](const Symbol *sym, parser::CharBlock source) {

0 commit comments

Comments
 (0)