diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-12-09 10:42:47 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-12-09 10:42:50 +0100 |
commit | 58822837cd53cdbe9c1b878c705b288f17a52f98 (patch) | |
tree | c2ce54894dcc661b24548b7d1f6fa81fb850bc12 /llvm/lib/Object/ArchiveWriter.cpp | |
parent | 267ddbb581228c54cb224324900aebcab330cae7 (diff) | |
download | llvm-58822837cd53cdbe9c1b878c705b288f17a52f98.zip llvm-58822837cd53cdbe9c1b878c705b288f17a52f98.tar.gz llvm-58822837cd53cdbe9c1b878c705b288f17a52f98.tar.bz2 |
[clang][deps] Use lock_guard instead of unique_lock
This patch changes uses of `std::unique_lock` to `std::lock_guard`.
The `std::unique_lock` template provides some advanced capabilities (deferred locking, time-constrained locking attempts, etc.) we don't use in the caching filesystem. Plain `std::lock_guard` will do here.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D115332
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions