r215322 - Remove unused CompilerInstance::takeCodeCompletionConsumer

David Blaikie dblaikie at gmail.com
Sun Aug 10 12:23:01 PDT 2014


Author: dblaikie
Date: Sun Aug 10 14:23:01 2014
New Revision: 215322

URL: http://llvm.org/viewvc/llvm-project?rev=215322&view=rev
Log:
Remove unused CompilerInstance::takeCodeCompletionConsumer

Modified:
    cfe/trunk/include/clang/Frontend/CompilerInstance.h

Modified: cfe/trunk/include/clang/Frontend/CompilerInstance.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CompilerInstance.h?rev=215322&r1=215321&r2=215322&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/CompilerInstance.h (original)
+++ cfe/trunk/include/clang/Frontend/CompilerInstance.h Sun Aug 10 14:23:01 2014
@@ -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);





More information about the cfe-commits mailing list