Skip to content

Commit 436c6f7

Browse files
committed
format
1 parent 6887398 commit 436c6f7

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

flang/include/flang/Parser/parse-tree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3447,8 +3447,8 @@ WRAPPER_CLASS(OmpObjectList, std::list<OmpObject>);
34473447
// MUTEXINOUTSET | DEPOBJ | // since 5.0
34483448
// INOUTSET // since 5.2
34493449
struct OmpTaskDependenceType {
3450-
ENUM_CLASS(Type, In, Out, Inout, Inoutset, Mutexinoutset, Source, Sink,
3451-
Depobj)
3450+
ENUM_CLASS(
3451+
Type, In, Out, Inout, Inoutset, Mutexinoutset, Source, Sink, Depobj)
34523452
WRAPPER_CLASS_BOILERPLATE(OmpTaskDependenceType, Type);
34533453
};
34543454

flang/lib/Semantics/check-omp-structure.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,13 +1758,12 @@ void OmpStructureChecker::CheckTaskDependenceType(
17581758

17591759
if (version >= deprecatedIn) {
17601760
context_.Say(GetContext().clauseSource,
1761-
"%s task-dependence-type is deprecated in %s"_warn_en_US,
1762-
parser::ToUpperCaseLetters(
1763-
parser::OmpTaskDependenceType::EnumToString(x)),
1764-
ThisVersion(deprecatedIn));
1761+
"%s task-dependence-type is deprecated in %s"_warn_en_US,
1762+
parser::ToUpperCaseLetters(
1763+
parser::OmpTaskDependenceType::EnumToString(x)),
1764+
ThisVersion(deprecatedIn));
17651765
} else if (version < since) {
1766-
context_.Say(
1767-
GetContext().clauseSource,
1766+
context_.Say(GetContext().clauseSource,
17681767
"%s task-dependence-type is not supported in %s, %s"_warn_en_US,
17691768
parser::ToUpperCaseLetters(
17701769
parser::OmpTaskDependenceType::EnumToString(x)),

0 commit comments

Comments
 (0)