• Home
  • Raw
  • Download

Lines Matching refs:CodeCompletionString

81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)   in Chunk()
155 CodeCompletionString::Chunk
156 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText()
160 CodeCompletionString::Chunk
161 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional()
168 CodeCompletionString::Chunk
169 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder()
173 CodeCompletionString::Chunk
174 CodeCompletionString::Chunk::CreateInformative(const char *Informative) { in CreateInformative()
178 CodeCompletionString::Chunk
179 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { in CreateResultType()
183 CodeCompletionString::Chunk
184 CodeCompletionString::Chunk::CreateCurrentParameter( in CreateCurrentParameter()
189 CodeCompletionString::CodeCompletionString(const Chunk *Chunks, in CodeCompletionString() function in CodeCompletionString
213 unsigned CodeCompletionString::getAnnotationCount() const { in getAnnotationCount()
217 const char *CodeCompletionString::getAnnotation(unsigned AnnotationNr) const { in getAnnotation()
225 std::string CodeCompletionString::getAsString() const { in getAsString()
246 const char *CodeCompletionString::getTypedText() const { in getTypedText()
328 CodeCompletionString *CodeCompletionBuilder::TakeString() { in TakeString()
330 sizeof(CodeCompletionString) + sizeof(Chunk) * Chunks.size() in TakeString()
332 llvm::alignOf<CodeCompletionString>()); in TakeString()
333 CodeCompletionString *Result in TakeString()
334 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(), in TakeString()
343 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text)); in AddTypedTextChunk()
350 void CodeCompletionBuilder::AddOptionalChunk(CodeCompletionString *Optional) { in AddOptionalChunk()
371 void CodeCompletionBuilder::AddChunk(CodeCompletionString::ChunkKind CK, in AddChunk()
446 if (CodeCompletionString *CCS in ProcessCodeCompleteResults()
465 if (CodeCompletionString *CCS in ProcessCodeCompleteResults()
489 static std::string getOverloadAsString(const CodeCompletionString &CCS) { in getOverloadAsString()
495 case CodeCompletionString::CK_Informative: in getOverloadAsString()
496 case CodeCompletionString::CK_ResultType: in getOverloadAsString()
500 case CodeCompletionString::CK_CurrentParameter: in getOverloadAsString()
516 if (CodeCompletionString *CCS in ProcessOverloadCandidates()