Author: ioeric Date: Fri Oct 12 04:47:36 2018 New Revision: 344335 URL: http://llvm.org/viewvc/llvm-project?rev=344335&view=rev Log: [Tooling] Expose ExecutorName option.
Modified: cfe/trunk/include/clang/Tooling/Execution.h cfe/trunk/lib/Tooling/Execution.cpp Modified: cfe/trunk/include/clang/Tooling/Execution.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Tooling/Execution.h?rev=344335&r1=344334&r2=344335&view=diff ============================================================================== --- cfe/trunk/include/clang/Tooling/Execution.h (original) +++ cfe/trunk/include/clang/Tooling/Execution.h Fri Oct 12 04:47:36 2018 @@ -37,6 +37,8 @@ namespace clang { namespace tooling { +extern llvm::cl::opt<std::string> ExecutorName; + /// An abstraction for the result of a tool execution. For example, the /// underlying result can be in-memory or on-disk. /// Modified: cfe/trunk/lib/Tooling/Execution.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/Execution.cpp?rev=344335&r1=344334&r2=344335&view=diff ============================================================================== --- cfe/trunk/lib/Tooling/Execution.cpp (original) +++ cfe/trunk/lib/Tooling/Execution.cpp Fri Oct 12 04:47:36 2018 @@ -16,7 +16,7 @@ LLVM_INSTANTIATE_REGISTRY(clang::tooling namespace clang { namespace tooling { -static llvm::cl::opt<std::string> +llvm::cl::opt<std::string> ExecutorName("executor", llvm::cl::desc("The name of the executor to use."), llvm::cl::init("standalone")); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits