[llvm] 1ddc41c - [clang-format] Fix format of my last patch

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 10:13:04 PST 2023


Author: Vitaly Buka
Date: 2023-02-22T10:12:48-08:00
New Revision: 1ddc41c3d165ae5125d6a6ed8e7d30feb74b2a30

URL: https://github.com/llvm/llvm-project/commit/1ddc41c3d165ae5125d6a6ed8e7d30feb74b2a30
DIFF: https://github.com/llvm/llvm-project/commit/1ddc41c3d165ae5125d6a6ed8e7d30feb74b2a30.diff

LOG: [clang-format] Fix format of my last patch

Added: 
    

Modified: 
    llvm/lib/Support/Parallel.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Parallel.cpp b/llvm/lib/Support/Parallel.cpp
index f762e7abc833..0a1d82efe768 100644
--- a/llvm/lib/Support/Parallel.cpp
+++ b/llvm/lib/Support/Parallel.cpp
@@ -57,7 +57,7 @@ class ThreadPoolExecutor : public Executor {
     std::lock_guard<std::mutex> Lock(Mutex);
     // Use operator[] before creating the thread to avoid data race in .size()
     // in “safe libc++” mode.
-    auto& Thread0 = Threads[0];
+    auto &Thread0 = Threads[0];
     Thread0 = std::thread([this, ThreadCount, S] {
       for (unsigned I = 1; I < ThreadCount; ++I) {
         Threads.emplace_back([=] { work(S, I); });


        


More information about the llvm-commits mailing list