From: David Blaikie Date: Sun, 10 Aug 2014 19:23:01 +0000 (+0000) Subject: Remove unused CompilerInstance::takeCodeCompletionConsumer X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1d79b587c72d41cd154c158b8f87c920c109485;p=clang Remove unused CompilerInstance::takeCodeCompletionConsumer git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215322 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h index 413c3600b5..a9fc371178 100644 --- a/include/clang/Frontend/CompilerInstance.h +++ b/include/clang/Frontend/CompilerInstance.h @@ -485,12 +485,6 @@ public: return *CompletionConsumer; } - /// takeCodeCompletionConsumer - Remove the current code completion consumer - /// and give ownership to the caller. - CodeCompleteConsumer *takeCodeCompletionConsumer() { - return CompletionConsumer.release(); - } - /// setCodeCompletionConsumer - Replace the current code completion consumer; /// the compiler instance takes ownership of \p Value. void setCodeCompletionConsumer(CodeCompleteConsumer *Value);