diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp b/contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp index 5565da9b548a..9cad8680447b 100644 --- a/contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp +++ b/contrib/llvm-project/clang/lib/Tooling/AllTUsExecution.cpp @@ -115,13 +115,13 @@ llvm::Error AllTUsToolExecutor::execute( auto &Action = Actions.front(); { - llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); + llvm::DefaultThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); for (std::string File : Files) { Pool.async( [&](std::string Path) { Log("[" + std::to_string(Count()) + "/" + TotalNumStr + "] Processing file " + Path); - // Each thread gets an indepent copy of a VFS to allow different + // Each thread gets an independent copy of a VFS to allow different // concurrent working directories. IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = llvm::vfs::createPhysicalFileSystem(); |