/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 61 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionChunkKind() 66 case CodeCompletionString::CK_TypedText: in clang_getCompletionChunkKind() 68 case CodeCompletionString::CK_Text: in clang_getCompletionChunkKind() 70 case CodeCompletionString::CK_Optional: in clang_getCompletionChunkKind() 72 case CodeCompletionString::CK_Placeholder: in clang_getCompletionChunkKind() 74 case CodeCompletionString::CK_Informative: in clang_getCompletionChunkKind() 76 case CodeCompletionString::CK_ResultType: in clang_getCompletionChunkKind() 78 case CodeCompletionString::CK_CurrentParameter: in clang_getCompletionChunkKind() 80 case CodeCompletionString::CK_LeftParen: in clang_getCompletionChunkKind() 82 case CodeCompletionString::CK_RightParen: in clang_getCompletionChunkKind() [all …]
|
D | CXCursor.cpp | 1350 CodeCompletionString *String in clang_getCursorCompletionString() 1364 CodeCompletionString *String in clang_getCursorCompletionString()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeCompletionStrings.cpp | 23 bool isInformativeQualifierChunk(CodeCompletionString::Chunk const &Chunk) { in isInformativeQualifierChunk() 24 return Chunk.Kind == CodeCompletionString::CK_Informative && in isInformativeQualifierChunk() 36 void appendOptionalChunk(const CodeCompletionString &CCS, std::string *Out) { in appendOptionalChunk() 37 for (const CodeCompletionString::Chunk &C : CCS) { in appendOptionalChunk() 39 case CodeCompletionString::CK_Optional: in appendOptionalChunk() 98 void getSignature(const CodeCompletionString &CCS, std::string *Signature, in getSignature() 111 llvm::count_if(CCS, [](const CodeCompletionString::Chunk &C) { in getSignature() 112 return C.Kind == CodeCompletionString::CK_Placeholder; in getSignature() 124 case CodeCompletionString::CK_TypedText: in getSignature() 157 case CodeCompletionString::CK_Text: in getSignature() [all …]
|
D | CodeCompletionStrings.h | 47 void getSignature(const CodeCompletionString &CCS, std::string *Signature, 57 std::string formatDocumentation(const CodeCompletionString &CCS, 62 std::string getReturnType(const CodeCompletionString &CCS);
|
D | CodeComplete.cpp | 267 CodeCompletionString *SemaCCS, in CodeCompletionBuilder() 376 void add(const CompletionCandidate &C, CodeCompletionString *SemaCCS) { in add() 810 CodeCompletionString *codeCompletionString(const CodeCompletionResult &R) { in codeCompletionString() 966 void processOptionalChunk(const CodeCompletionString &CCS, in processOptionalChunk() 971 case CodeCompletionString::CK_Optional: in processOptionalChunk() 976 case CodeCompletionString::CK_VerticalSpace: in processOptionalChunk() 978 case CodeCompletionString::CK_CurrentParameter: in processOptionalChunk() 979 case CodeCompletionString::CK_Placeholder: in processOptionalChunk() 993 const CodeCompletionString &CCS, in processOverloadCandidate() 1004 case CodeCompletionString::CK_ResultType: in processOverloadCandidate() [all …]
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 59 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionChunkKind() 64 case CodeCompletionString::CK_TypedText: in clang_getCompletionChunkKind() 66 case CodeCompletionString::CK_Text: in clang_getCompletionChunkKind() 68 case CodeCompletionString::CK_Optional: in clang_getCompletionChunkKind() 70 case CodeCompletionString::CK_Placeholder: in clang_getCompletionChunkKind() 72 case CodeCompletionString::CK_Informative: in clang_getCompletionChunkKind() 74 case CodeCompletionString::CK_ResultType: in clang_getCompletionChunkKind() 76 case CodeCompletionString::CK_CurrentParameter: in clang_getCompletionChunkKind() 78 case CodeCompletionString::CK_LeftParen: in clang_getCompletionChunkKind() 80 case CodeCompletionString::CK_RightParen: in clang_getCompletionChunkKind() [all …]
|
D | CXCursor.cpp | 1506 CodeCompletionString *String = Result.CreateCodeCompletionString( in clang_getCursorCompletionString() 1520 CodeCompletionString *String = Result.CreateCodeCompletionString( in clang_getCursorCompletionString()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 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 [all …]
|
D | SemaCodeComplete.cpp | 1320 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypeSpecifierResults() 1332 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddTypeSpecifierResults() 1334 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddTypeSpecifierResults() 1347 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypeSpecifierResults() 1352 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddTypeSpecifierResults() 1354 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddTypeSpecifierResults() 1428 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypedefResult() 1430 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypedefResult() 1545 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddOrdinaryNameResults() 1547 Builder.AddChunk(CodeCompletionString::CK_LeftBrace); in AddOrdinaryNameResults() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 174 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() 247 CodeCompletionString::Chunk 248 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() 252 CodeCompletionString::Chunk 253 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional() 260 CodeCompletionString::Chunk 261 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder() 265 CodeCompletionString::Chunk 266 CodeCompletionString::Chunk::CreateInformative(const char *Informative) { in CreateInformative() 270 CodeCompletionString::Chunk [all …]
|
D | SemaCodeComplete.cpp | 1694 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypeSpecifierResults() 1704 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddTypeSpecifierResults() 1706 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddTypeSpecifierResults() 1720 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypeSpecifierResults() 1725 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddTypeSpecifierResults() 1727 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddTypeSpecifierResults() 1753 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddStorageSpecifiers() 1755 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddStorageSpecifiers() 1813 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypedefResult() 1815 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypedefResult() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CodeCompletionStringsTests.cpp | 26 void computeSignature(const CodeCompletionString &CCS, in computeSignature() 89 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in TEST_F() 91 Builder.AddChunk(CodeCompletionString::CK_Comma); in TEST_F() 93 Builder.AddChunk(CodeCompletionString::CK_RightParen); in TEST_F() 104 Builder.AddChunk(CodeCompletionString::CK_Comma); in TEST_F() 108 Builder.AddChunk(CodeCompletionString::CK_Comma); in TEST_F() 115 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in TEST_F() 118 Builder.AddChunk(CodeCompletionString::CK_RightParen); in TEST_F() 128 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in TEST_F() 130 Builder.AddChunk(CodeCompletionString::CK_RightParen); in TEST_F() [all …]
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 324 class CodeCompletionString { 400 CodeCompletionString *Optional; 411 static Chunk CreateOptional(CodeCompletionString *Optional); 446 CodeCompletionString(const CodeCompletionString &) = delete; 447 void operator=(const CodeCompletionString &) = delete; 449 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks, 454 ~CodeCompletionString() = default; 538 template <> struct isPodLike<clang::CodeCompletionString::Chunk> { 548 typedef CodeCompletionString::Chunk Chunk; 586 CodeCompletionString *TakeString(); [all …]
|
/external/llvm-project/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 439 class CodeCompletionString { 534 CodeCompletionString *Optional; 545 static Chunk CreateOptional(CodeCompletionString *Optional); 583 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks, 588 ~CodeCompletionString() = default; 591 CodeCompletionString(const CodeCompletionString &) = delete; 592 CodeCompletionString &operator=(const CodeCompletionString &) = delete; 673 using Chunk = CodeCompletionString::Chunk; 708 CodeCompletionString *TakeString(); 717 void AddOptionalChunk(CodeCompletionString *Optional); [all …]
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | ASTUnit.h | 271 CodeCompletionString *Completion;
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 326 CodeCompletionString *Completion;
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2085 CodeCompletionString *Completion = C->Completion; in ProcessCodeCompleteResults()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2265 CodeCompletionString *Completion = C->Completion; in ProcessCodeCompleteResults()
|