Skip to content

Commit cee609a

Browse files
committed
More review fixes.
1 parent 5e391e7 commit cee609a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

toolchain/driver/clang_runtimes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ auto ClangRuntimesBuilderBase::ArchiveBuilder::CreateObjDir(
128128
return Success();
129129
}
130130

131-
std::scoped_lock lock{obj_dirs_mu_};
131+
std::scoped_lock lock(obj_dirs_mu_);
132132
auto* it = std::lower_bound(obj_dirs_.begin(), obj_dirs_.end(), obj_dir_path);
133133
if (it != obj_dirs_.end() && *it == obj_dir_path) {
134134
return Success();
@@ -331,8 +331,8 @@ auto ClangResourceDirBuilder::Setup() -> void {
331331
}
332332
lib_dir_ = *std::move(lib_dir_result);
333333

334-
Latch::Handle latch_handle = step_counter_.Init(
335-
[this] { tasks_.async([this] { Finish(); }); });
334+
Latch::Handle latch_handle =
335+
step_counter_.Init([this] { tasks_.async([this] { Finish(); }); });
336336

337337
// For Linux targets, the system libc (typically glibc) doesn't necessarily
338338
// provide the CRT begin/end files, and so we need to build them.

0 commit comments

Comments
 (0)