Skip to content

Commit 0984143

Browse files
clang-format
1 parent fe2604e commit 0984143

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flang/lib/Semantics/check-call.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,8 @@ static void CheckExplicitDataArg(const characteristics::DummyDataObject &dummy,
914914
dummyName);
915915
}
916916
// INTENT(OUT) and INTENT(IN OUT) cases are caught elsewhere
917-
} else if (!actualIsAllocatable && !dummy.ignoreTKR.test(common::IgnoreTKR::Pointer)) {
917+
} else if (!actualIsAllocatable &&
918+
!dummy.ignoreTKR.test(common::IgnoreTKR::Pointer)) {
918919
messages.Say(
919920
"ALLOCATABLE %s must be associated with an ALLOCATABLE actual argument"_err_en_US,
920921
dummyName);
@@ -929,7 +930,8 @@ static void CheckExplicitDataArg(const characteristics::DummyDataObject &dummy,
929930
dummy, actual, *scope,
930931
/*isAssumedRank=*/dummyIsAssumedRank, actualIsPointer);
931932
}
932-
} else if (!actualIsPointer && !dummy.ignoreTKR.test(common::IgnoreTKR::Pointer)) {
933+
} else if (!actualIsPointer &&
934+
!dummy.ignoreTKR.test(common::IgnoreTKR::Pointer)) {
933935
messages.Say(
934936
"Actual argument associated with POINTER %s must also be POINTER unless INTENT(IN)"_err_en_US,
935937
dummyName);

0 commit comments

Comments
 (0)