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 ExecutorConcurrency; extern llvm::cl::opt 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 ExecutorConcurrency( +llvm::cl::opt ExecutorConcurrency( "execute-concurrency", llvm::cl::desc("The number of threads used to process all files in " "parallel. Set to 0 for hardware concurrency. "