File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3017,8 +3017,8 @@ void OmpStructureChecker::Leave(const parser::OmpClauseList &) {
30173017 &objs,
30183018 std::string clause) {
30193019 for (const auto &obj : objs.v ) {
3020- if (const parser::Name *
3021- objName{ parser::Unwrap<parser::Name>(obj)}) {
3020+ if (const parser::Name *objName{
3021+ parser::Unwrap<parser::Name>(obj)}) {
30223022 if (&objName->symbol ->GetUltimate () == eventHandleSym) {
30233023 context_.Say (GetContext ().clauseSource ,
30243024 " A variable: `%s` that appears in a DETACH clause cannot appear on %s clause on the same construct" _err_en_US,
@@ -3637,7 +3637,8 @@ void OmpStructureChecker::CheckReductionModifier(
36373637 if (modifier.v == ReductionModifier::Value::Task) {
36383638 // "Task" is only allowed on worksharing or "parallel" directive.
36393639 static llvm::omp::Directive worksharing[]{
3640- llvm::omp::Directive::OMPD_do, llvm::omp::Directive::OMPD_scope,
3640+ llvm::omp::Directive::OMPD_do, //
3641+ llvm::omp::Directive::OMPD_scope, //
36413642 llvm::omp::Directive::OMPD_sections,
36423643 // There are more worksharing directives, but they do not apply:
36433644 // "for" is C++ only,
You can’t perform that action at this time.
0 commit comments