Skip to content

Commit 12ca5a8

Browse files
Braces!
1 parent 9e47176 commit 12ca5a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/lib/Evaluate/call.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,18 +323,18 @@ void ProcedureRef::DetermineCopyInOut() {
323323
}
324324
if (actual->keyword()) {
325325
seenKeyword = true;
326-
auto actualName = actual->keyword()->ToString();
326+
auto actualName{actual->keyword()->ToString()};
327327
if (processedKeywords.find(actualName) != processedKeywords.end()) {
328328
// Actual arguments with duplicate keywords. Semantic analysis will
329329
// deal with the error.
330330
return;
331331
} else {
332332
processedKeywords.insert(actualName);
333-
if (auto it = std::find_if(procInfo->dummyArguments.begin(),
333+
if (auto it{std::find_if(procInfo->dummyArguments.begin(),
334334
procInfo->dummyArguments.end(),
335335
[&](const characteristics::DummyArgument &dummy) {
336336
return dummy.name == actualName;
337-
});
337+
})};
338338
it != procInfo->dummyArguments.end()) {
339339
DetermineCopyInOutArgument(*procInfo, *actual, *it, sc);
340340
}

0 commit comments

Comments
 (0)