We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47fbdc4 commit 596d326Copy full SHA for 596d326
flang/lib/Semantics/check-omp-structure.cpp
@@ -3168,8 +3168,8 @@ void OmpStructureChecker::Leave(const parser::OmpClauseList &) {
3168
&objs,
3169
std::string clause) {
3170
for (const auto &obj : objs.v) {
3171
- if (const parser::Name *objName{
3172
- parser::Unwrap<parser::Name>(obj)}) {
+ if (const parser::Name *
+ objName{parser::Unwrap<parser::Name>(obj)}) {
3173
if (&objName->symbol->GetUltimate() == eventHandleSym) {
3174
context_.Say(GetContext().clauseSource,
3175
"A variable: `%s` that appears in a DETACH clause cannot appear on %s clause on the same construct"_err_en_US,
0 commit comments