Lines Matching full:completion
37 // Let's add an empty fake argument to the end to make sure the completion in CompletionRequest()
44 std::string CompletionResult::Completion::GetUniqueKey() const { in GetUniqueKey()
46 // We build a unique key for this pair of completion:description. We in GetUniqueKey()
47 // prefix the key with the length of the completion string. This prevents in GetUniqueKey()
61 void CompletionResult::AddResult(llvm::StringRef completion, in AddResult() argument
64 Completion r(completion, description, mode); in AddResult()
66 // Add the completion if we haven't seen the same value before. in AddResult()
73 for (const Completion &completion : m_results) in GetMatches() local
74 matches.AppendString(completion.GetCompletion()); in GetMatches()
79 for (const Completion &completion : m_results) in GetDescriptions() local
80 descriptions.AppendString(completion.GetDescription()); in GetDescriptions()