Skip to content

Commit 6939916

Browse files
committed
remove ToString from name->ToString()
1 parent 0221b86 commit 6939916

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
@@ -3288,7 +3288,7 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Depend &x) {
32883288
context_.Say(GetContext().clauseSource,
32893289
"Common block name ('%s') cannot appear in a DEPEND "
32903290
"clause"_err_en_US,
3291-
name->ToString());
3291+
name);
32923292
} else if (auto *designator{std::get_if<parser::Designator>(&object.u)}) {
32933293
if (auto *dataRef{std::get_if<parser::DataRef>(&designator->u)}) {
32943294
CheckDependList(*dataRef);

0 commit comments

Comments
 (0)