diff options
author | Diego Astiazaran <diegoaat97@gmail.com> | 2019-08-07 18:35:28 +0000 |
---|---|---|
committer | Diego Astiazaran <diegoaat97@gmail.com> | 2019-08-07 18:35:28 +0000 |
commit | f8f8a6bc32f85d471feb4e0f4ea10f41dbbaf8ab (patch) | |
tree | 083cf45b47d8c85f1347738870593ce91a6c1b52 /lib/Tooling/AllTUsExecution.cpp | |
parent | 2278ab1b680d1265a09a003cb281b60e183a18e7 (diff) | |
download | clang-f8f8a6bc32f85d471feb4e0f4ea10f41dbbaf8ab.tar.gz |
[Tooling] Expose ExecutorConcurrency option.
D65628 requires a flag to specify the number of threads for a clang-doc step. It would be good to use ExecutorConcurrency after exposing it instead of creating a new one that has the same purpose.
Differential Revision: https://reviews.llvm.org/D65833
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/AllTUsExecution.cpp')
-rw-r--r-- | lib/Tooling/AllTUsExecution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tooling/AllTUsExecution.cpp b/lib/Tooling/AllTUsExecution.cpp index ca9db7a561..6bda195f69 100644 --- a/lib/Tooling/AllTUsExecution.cpp +++ b/lib/Tooling/AllTUsExecution.cpp @@ -147,7 +147,7 @@ llvm::Error AllTUsToolExecutor::execute( return llvm::Error::success(); } -static llvm::cl::opt<unsigned> ExecutorConcurrency( +llvm::cl::opt<unsigned> ExecutorConcurrency( "execute-concurrency", llvm::cl::desc("The number of threads used to process all files in " "parallel. Set to 0 for hardware concurrency. " |