]> granicus.if.org Git - clang/commitdiff
Remove unused CompilerInstance::takeCodeCompletionConsumer
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 10 Aug 2014 19:23:01 +0000 (19:23 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 10 Aug 2014 19:23:01 +0000 (19:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215322 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/CompilerInstance.h

index 413c3600b5013c6bf780962bb1e621a32bcf7dab..a9fc371178b6f08efafcc663cbae78d77d0c6115 100644 (file)
@@ -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);