Skip to content

Commit 5d5418a

Browse files
clang-format
1 parent 0378a5f commit 5d5418a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

flang/lib/Evaluate/call.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,10 @@ static void DetermineCopyInOutArgument(
258258
}
259259

260260
static void DetermineCopyInOutArgument(
261-
const characteristics::Procedure &procInfo,
262-
ActualArgument &actual, characteristics::DummyArgument &dummy) {
261+
const characteristics::Procedure &procInfo, ActualArgument &actual,
262+
characteristics::DummyArgument &dummy) {
263263

264264
// TODO: assert? procInfo.HasExplicitInterface()
265-
266265
}
267266

268267
void ProcedureRef::DetermineCopyInOut() {
@@ -308,8 +307,7 @@ void ProcedureRef::DetermineCopyInOut() {
308307
// Actual arguments with duplicate keywords. Semantic analysis will
309308
// deal with the error.
310309
return;
311-
}
312-
else {
310+
} else {
313311
processedKeywords.insert(actualName);
314312
if (auto it = std::find_if(procInfo->dummyArguments.begin(),
315313
procInfo->dummyArguments.end(),
@@ -320,13 +318,11 @@ void ProcedureRef::DetermineCopyInOut() {
320318
DetermineCopyInOutArgument(*procInfo, *actual, *it);
321319
}
322320
}
323-
}
324-
else if (seenKeyword) {
321+
} else if (seenKeyword) {
325322
// Non-keyword actual argument after have seen at least one keyword
326323
// actual argument. Semantic analysis will deal with the error.
327324
return;
328-
}
329-
else {
325+
} else {
330326
// Positional argument processing
331327
DetermineCopyInOutArgument(
332328
*procInfo, *actual, procInfo->dummyArguments[index]);

0 commit comments

Comments
 (0)