Lines Matching refs:CodeCompletionResult
137 toCompletionItemKind(CodeCompletionResult::ResultKind ResKind, in toCompletionItemKind()
145 case CodeCompletionResult::RK_Declaration: in toCompletionItemKind()
147 case CodeCompletionResult::RK_Keyword: in toCompletionItemKind()
149 case CodeCompletionResult::RK_Macro: in toCompletionItemKind()
152 case CodeCompletionResult::RK_Pattern: in toCompletionItemKind()
169 const CodeCompletionResult *SemaResult = nullptr;
283 if ((C.SemaResult->Kind == CodeCompletionResult::RK_Declaration) || in CodeCompletionBuilder()
284 (C.SemaResult->Kind == CodeCompletionResult::RK_Pattern)) in CodeCompletionBuilder()
381 bool IsPattern = C.SemaResult->Kind == CodeCompletionResult::RK_Pattern; in add()
518 SymbolID getSymbolID(const CodeCompletionResult &R, const SourceManager &SM) { in getSymbolID()
520 case CodeCompletionResult::RK_Declaration: in getSymbolID()
521 case CodeCompletionResult::RK_Pattern: { in getSymbolID()
527 case CodeCompletionResult::RK_Macro: in getSymbolID()
529 case CodeCompletionResult::RK_Keyword: in getSymbolID()
722 std::vector<CodeCompletionResult> Results;
728 CodeCompletionResult *InResults, in ProcessCodeCompleteResults()
791 llvm::StringRef getName(const CodeCompletionResult &Result) { in getName()
793 case CodeCompletionResult::RK_Declaration: in getName()
797 case CodeCompletionResult::RK_Keyword: in getName()
799 case CodeCompletionResult::RK_Macro: in getName()
801 case CodeCompletionResult::RK_Pattern: in getName()
810 CodeCompletionString *codeCompletionString(const CodeCompletionResult &R) { in codeCompletionString()
812 return const_cast<CodeCompletionResult &>(R).CreateCodeCompletionString( in codeCompletionString()
1563 mergeResults(const std::vector<CodeCompletionResult> &SemaResults, in mergeResults()
1569 auto AddToBundles = [&](const CodeCompletionResult *SemaResult, in mergeResults()
1598 [&](const CodeCompletionResult &SemaResult) -> const Symbol * { in mergeResults()
1632 C.SemaResult->Kind == CodeCompletionResult::RK_Macro) || in fuzzyScore()