File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,6 @@ class CompilerPlugin {
9797
9898// / Represents a in-process plugin server.
9999class InProcessPlugins : public CompilerPlugin {
100- // / PluginServer shared library handle.
101- void *server;
102-
103100 // / Entry point in the in-process plugin server. It receives the request
104101 // / string and populate the response string. The return value indicates there
105102 // / was an error. If true the returned string contains the error message.
@@ -113,10 +110,9 @@ class InProcessPlugins : public CompilerPlugin {
113110 // / Temporary storage for the response data from 'handleMessageFn'.
114111 std::string receivedResponse;
115112
116- InProcessPlugins (llvm::StringRef serverPath, void *server,
113+ InProcessPlugins (llvm::StringRef serverPath,
117114 HandleMessageFunction handleMessageFn)
118- : CompilerPlugin(serverPath), server(server),
119- handleMessageFn (handleMessageFn) {}
115+ : CompilerPlugin(serverPath), handleMessageFn(handleMessageFn) {}
120116
121117public:
122118 // / Create an instance by loading the in-process plugin server at 'serverPath'
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ InProcessPlugins::create(const char *serverPath) {
108108 " entry point not found in '%s'" , serverPath);
109109 }
110110 return std::unique_ptr<InProcessPlugins>(new InProcessPlugins (
111- serverPath, server, reinterpret_cast <HandleMessageFunction>(funcPtr)));
111+ serverPath, reinterpret_cast <HandleMessageFunction>(funcPtr)));
112112}
113113
114114llvm::Error InProcessPlugins::sendMessage (llvm::StringRef message) {
You can’t perform that action at this time.
0 commit comments