]> granicus.if.org Git - clang/commitdiff
Removed ToolExecutor::isSingleProcess, it is not used by anything
authorDmitri Gribenko <gribozavr@gmail.com>
Wed, 14 Aug 2019 11:35:04 +0000 (11:35 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Wed, 14 Aug 2019 11:35:04 +0000 (11:35 +0000)
Subscribers: cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368832 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Tooling/AllTUsExecution.h
include/clang/Tooling/Execution.h
include/clang/Tooling/StandaloneExecution.h
unittests/Tooling/ExecutionTest.cpp

index f051119392f792cc624f44eb1973764436230f3b..1e618b5ba2f0f688b46ccde66c85b10b23f59801 100644 (file)
@@ -44,8 +44,6 @@ public:
 
   StringRef getExecutorName() const override { return ExecutorName; }
 
-  bool isSingleProcess() const override { return true; }
-
   using ToolExecutor::execute;
 
   llvm::Error
index 74f0df5a5b9123377305e85faefbe8bef8489fcc..ca6f22c5da3bff1e2a31310fdb3c9ca2640d75f0 100644 (file)
@@ -115,13 +115,6 @@ public:
   /// Returns the name of a specific executor.
   virtual StringRef getExecutorName() const = 0;
 
-  /// Should return true iff executor runs all actions in a single process.
-  /// Clients can use this signal to find out if they can collect results
-  /// in-memory (e.g. to avoid serialization costs of using ToolResults).
-  /// The single-process executors can still run multiple threads, but all
-  /// executions are guaranteed to share the same memory.
-  virtual bool isSingleProcess() const = 0;
-
   /// Executes each action with a corresponding arguments adjuster.
   virtual llvm::Error
   execute(llvm::ArrayRef<
index 5fbc1e479c59bc5c86ec4cc38f9aeea705af6463..8db6229acf7f997aab4c09ad825bb8588f01ac5e 100644 (file)
@@ -52,8 +52,6 @@ public:
 
   StringRef getExecutorName() const override { return ExecutorName; }
 
-  bool isSingleProcess() const override { return true; }
-
   using ToolExecutor::execute;
 
   llvm::Error
index 31d5fe5c42caca93abfedf25709e75ba54f7577e..6c2c91c0585957a25953a690a09281372d2cca38 100644 (file)
@@ -95,8 +95,6 @@ public:
 
   StringRef getExecutorName() const override { return ExecutorName; }
 
-  bool isSingleProcess() const override { return true; }
-
   llvm::Error
   execute(llvm::ArrayRef<std::pair<std::unique_ptr<FrontendActionFactory>,
                                    ArgumentsAdjuster>>) override {