Skip to content

Commit d026e0d

Browse files
clang-format (upstream)
1 parent 4590955 commit d026e0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flang/lib/Evaluate/call.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ static void DetermineCopyInOutArgument(
260260
// Actual argument expressions that aren’t variables are copy-in, but
261261
// not copy-out.
262262
actual.SetMayNeedCopyIn();
263-
} else if (bool actualIsArray{actual.Rank() > 0}; actualIsArray &&
264-
!IsSimplyContiguous(actual, sc.foldingContext())) {
263+
} else if (bool actualIsArray{actual.Rank() > 0};
264+
actualIsArray &&!IsSimplyContiguous(actual, sc.foldingContext())) {
265265
// Actual arguments that are variables are copy-in when non-contiguous.
266266
// They are copy-out when don't have vector subscripts
267267
actual.SetMayNeedCopyIn();

flang/lib/Semantics/resolve-directives.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ static bool IsTargetCaptureImplicitlyFirstprivatizeable(const Symbol &symbol,
24372437
// TODO: Relax restriction as we progress privitization and further
24382438
// investigate the flags we can intermix with.
24392439
if (!(dsa & (dataSharingAttributeFlags | dataMappingAttributeFlags))
2440-
.none() ||
2440+
.none() ||
24412441
!checkSym.flags().none() || evaluate::IsAssumedShape(checkSym) ||
24422442
semantics::IsAllocatableOrPointer(checkSym)) {
24432443
return false;

0 commit comments

Comments
 (0)