File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,12 @@ TYPE_PARSER(construct<OmpAlignedClause>(
220
220
221
221
// 2.9.5 ORDER ([order-modifier :]concurrent)
222
222
TYPE_PARSER(construct<OmpOrderModifier>(
223
- " REPRODUCIBLE" >> pure (OmpOrderModifier::Kind::Reproducible)) ||
223
+ " REPRODUCIBLE" >> pure (OmpOrderModifier::Kind::Reproducible)) ||
224
224
construct<OmpOrderModifier>(
225
- " UNCONSTRAINED" >> pure (OmpOrderModifier::Kind::Unconstrained)))
225
+ " UNCONSTRAINED" >> pure (OmpOrderModifier::Kind::Unconstrained)))
226
226
227
- TYPE_PARSER(construct<OmpOrderClause>(maybe(Parser<OmpOrderModifier>{} / " :" ),
227
+ TYPE_PARSER(construct<OmpOrderClause>(
228
+ maybe (Parser<OmpOrderModifier>{} / " :" ),
228
229
"CONCURRENT" >> pure(OmpOrderClause::Type::Concurrent)))
229
230
230
231
TYPE_PARSER(
Original file line number Diff line number Diff line change @@ -1112,18 +1112,18 @@ bool AccAttributeVisitor::Pre(const parser::OpenACCCombinedConstruct &x) {
1112
1112
static bool IsLastNameArray (const parser::Designator &designator) {
1113
1113
const auto &name{GetLastName (designator)};
1114
1114
const evaluate::DataRef dataRef{*(name.symbol )};
1115
- return common::visit (common::visitors{
1116
- []( const evaluate::SymbolRef &ref) {
1117
- return ref-> Rank () > 0 ||
1118
- ref->GetType ()-> category () ==
1119
- DeclTypeSpec::Numeric;
1120
- },
1121
- [](const evaluate::ArrayRef &aref) {
1122
- return aref.base ().IsSymbol () ||
1123
- aref.base ().GetComponent ().base ().Rank () == 0 ;
1124
- },
1125
- [](const auto &) { return false ; },
1126
- },
1115
+ return common::visit (
1116
+ common::visitors {
1117
+ []( const evaluate::SymbolRef & ref) {
1118
+ return ref->Rank () > 0 ||
1119
+ ref-> GetType ()-> category () == DeclTypeSpec::Numeric;
1120
+ },
1121
+ [](const evaluate::ArrayRef &aref) {
1122
+ return aref.base ().IsSymbol () ||
1123
+ aref.base ().GetComponent ().base ().Rank () == 0 ;
1124
+ },
1125
+ [](const auto &) { return false ; },
1126
+ },
1127
1127
dataRef.u );
1128
1128
}
1129
1129
You can’t perform that action at this time.
0 commit comments