[Tooling] Add a isSingleProcess() helper to ToolExecutor
authorIlya Biryukov <ibiryukov@google.com>
Fri, 24 Aug 2018 09:03:29 +0000 (09:03 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 24 Aug 2018 09:03:29 +0000 (09:03 +0000)
commitdbdd8e5238d5ba7f23c8d1a525bc640628bc9a97
treec2c8dab9ae2041710b6ad647369dd5f4c76b0165
parent411e710074db74ce3430543e1399a45813952f85
[Tooling] Add a isSingleProcess() helper to ToolExecutor

Summary:
Used in clangd's symbol builder to optimize for the common
shared-memory executor case.

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: kadircet, cfe-commits

Differential Revision: https://reviews.llvm.org/D51164

llvm-svn: 340599
clang/include/clang/Tooling/AllTUsExecution.h
clang/include/clang/Tooling/Execution.h
clang/include/clang/Tooling/StandaloneExecution.h
clang/unittests/Tooling/ExecutionTest.cpp