Skip to content

Commit 85d81c5

Browse files
committed
Use braced initialization
1 parent 16662ce commit 85d81c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ struct OmpBlockConstructParser {
14881488
auto end{maybe(OmpEndDirectiveParser{dir_}).Parse(state)};
14891489
// Dereference outer optional (maybe() always succeeds) and look at the
14901490
// inner optional.
1491-
bool endPresent = end->has_value();
1491+
bool endPresent{end->has_value()};
14921492

14931493
// ORDERED is special. We do need to return failure here so that the
14941494
// standalone ORDERED construct can be distinguished from the block

0 commit comments

Comments
 (0)