This revision was automatically updated to reflect the committed changes. Closed by commit rL368196: [Tooling] Expose ExecutorConcurrency option. (authored by DiegoAstiazaran, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D65833?vs=213745&id=213959#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65833/new/ https://reviews.llvm.org/D65833 Files: cfe/trunk/include/clang/Tooling/AllTUsExecution.h cfe/trunk/lib/Tooling/AllTUsExecution.cpp Index: cfe/trunk/include/clang/Tooling/AllTUsExecution.h =================================================================== --- cfe/trunk/include/clang/Tooling/AllTUsExecution.h +++ cfe/trunk/include/clang/Tooling/AllTUsExecution.h @@ -71,6 +71,7 @@ unsigned ThreadCount; }; +extern llvm::cl::opt<unsigned> ExecutorConcurrency; extern llvm::cl::opt<std::string> Filter; } // end namespace tooling Index: cfe/trunk/lib/Tooling/AllTUsExecution.cpp =================================================================== --- cfe/trunk/lib/Tooling/AllTUsExecution.cpp +++ cfe/trunk/lib/Tooling/AllTUsExecution.cpp @@ -147,7 +147,7 @@ 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. "
Index: cfe/trunk/include/clang/Tooling/AllTUsExecution.h =================================================================== --- cfe/trunk/include/clang/Tooling/AllTUsExecution.h +++ cfe/trunk/include/clang/Tooling/AllTUsExecution.h @@ -71,6 +71,7 @@ unsigned ThreadCount; }; +extern llvm::cl::opt<unsigned> ExecutorConcurrency; extern llvm::cl::opt<std::string> Filter; } // end namespace tooling Index: cfe/trunk/lib/Tooling/AllTUsExecution.cpp =================================================================== --- cfe/trunk/lib/Tooling/AllTUsExecution.cpp +++ cfe/trunk/lib/Tooling/AllTUsExecution.cpp @@ -147,7 +147,7 @@ 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. "
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits