/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 292 enum clang::CodeCompletionContext::Kind ContextKind; 353 enum CodeCompletionContext::Kind kind, in getContextsForContextKind() 357 case CodeCompletionContext::CCC_OtherWithMacros: { in getContextsForContextKind() 363 case CodeCompletionContext::CCC_TopLevel: in getContextsForContextKind() 364 case CodeCompletionContext::CCC_ObjCIvarList: in getContextsForContextKind() 365 case CodeCompletionContext::CCC_ClassStructUnion: in getContextsForContextKind() 366 case CodeCompletionContext::CCC_Type: { in getContextsForContextKind() 378 case CodeCompletionContext::CCC_Statement: { in getContextsForContextKind() 391 case CodeCompletionContext::CCC_Expression: { in getContextsForContextKind() 404 case CodeCompletionContext::CCC_ObjCMessageReceiver: { in getContextsForContextKind() [all …]
|
D | CXCursor.cpp | 1353 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString() 1367 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 285 enum clang::CodeCompletionContext::Kind ContextKind; 385 enum CodeCompletionContext::Kind kind, in getContextsForContextKind() 389 case CodeCompletionContext::CCC_OtherWithMacros: { in getContextsForContextKind() 395 case CodeCompletionContext::CCC_TopLevel: in getContextsForContextKind() 396 case CodeCompletionContext::CCC_ObjCIvarList: in getContextsForContextKind() 397 case CodeCompletionContext::CCC_ClassStructUnion: in getContextsForContextKind() 398 case CodeCompletionContext::CCC_Type: { in getContextsForContextKind() 410 case CodeCompletionContext::CCC_Statement: { in getContextsForContextKind() 423 case CodeCompletionContext::CCC_Expression: { in getContextsForContextKind() 436 case CodeCompletionContext::CCC_ObjCMessageReceiver: { in getContextsForContextKind() [all …]
|
D | CXCursor.cpp | 1508 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString() 1522 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 303 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts() 304 | (1LL << CodeCompletionContext::CCC_ObjCIvarList) in getDeclShowContexts() 305 | (1LL << CodeCompletionContext::CCC_ClassStructUnion) in getDeclShowContexts() 306 | (1LL << CodeCompletionContext::CCC_Statement) in getDeclShowContexts() 307 | (1LL << CodeCompletionContext::CCC_Type) in getDeclShowContexts() 308 | (1LL << CodeCompletionContext::CCC_ParenthesizedExpression); in getDeclShowContexts() 312 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts() 317 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver); in getDeclShowContexts() 323 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts() 324 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName); in getDeclShowContexts() [all …]
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 280 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts() 281 | (1LL << CodeCompletionContext::CCC_ObjCIvarList) in getDeclShowContexts() 282 | (1LL << CodeCompletionContext::CCC_ClassStructUnion) in getDeclShowContexts() 283 | (1LL << CodeCompletionContext::CCC_Statement) in getDeclShowContexts() 284 | (1LL << CodeCompletionContext::CCC_Type) in getDeclShowContexts() 285 | (1LL << CodeCompletionContext::CCC_ParenthesizedExpression); in getDeclShowContexts() 289 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts() 294 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver); in getDeclShowContexts() 298 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName); in getDeclShowContexts() 302 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag); in getDeclShowContexts() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeComplete.cpp | 139 CodeCompletionContext::Kind CtxKind) { in toCompletionItemKind() 142 if (CtxKind == CodeCompletionContext::CCC_IncludedFile) in toCompletionItemKind() 271 CodeCompletionContext::Kind ContextKind, in CodeCompletionBuilder() 578 getQueryScopes(CodeCompletionContext &CCContext, const Sema &CCSema, in getQueryScopes() 636 bool contextAllowsIndex(enum CodeCompletionContext::Kind K) { in contextAllowsIndex() 638 case CodeCompletionContext::CCC_TopLevel: in contextAllowsIndex() 639 case CodeCompletionContext::CCC_ObjCInterface: in contextAllowsIndex() 640 case CodeCompletionContext::CCC_ObjCImplementation: in contextAllowsIndex() 641 case CodeCompletionContext::CCC_ObjCIvarList: in contextAllowsIndex() 642 case CodeCompletionContext::CCC_ClassStructUnion: in contextAllowsIndex() [all …]
|
D | CodeComplete.h | 260 CodeCompletionContext::Kind Context = CodeCompletionContext::CCC_Other;
|
D | Quality.h | 127 CodeCompletionContext::Kind Context = CodeCompletionContext::CCC_Other;
|
D | Quality.cpp | 432 (Context == CodeCompletionContext::CCC_DotMemberAccess || in evaluateHeuristics() 433 Context == CodeCompletionContext::CCC_ArrowMemberAccess)) { in evaluateHeuristics()
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 160 CodeCompletionContext CompletionContext; 173 const CodeCompletionContext &CompletionContext, in ResultBuilder() 184 case CodeCompletionContext::CCC_Expression: in ResultBuilder() 185 case CodeCompletionContext::CCC_ObjCMessageReceiver: in ResultBuilder() 186 case CodeCompletionContext::CCC_ParenthesizedExpression: in ResultBuilder() 187 case CodeCompletionContext::CCC_Statement: in ResultBuilder() 188 case CodeCompletionContext::CCC_Recovery: in ResultBuilder() 247 const CodeCompletionContext &getCompletionContext() const { in getCompletionContext() 755 !(CompletionContext.getKind() == CodeCompletionContext::CCC_Statement || in getBasePriority() 757 == CodeCompletionContext::CCC_ObjCMessageReceiver || in getBasePriority() [all …]
|
D | CodeCompleteConsumer.cpp | 34 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults() 433 CodeCompletionContext Context, in ProcessCodeCompleteResults()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 187 class CodeCompletionContext { 367 CodeCompletionContext(Kind CCKind) in CodeCompletionContext() function 371 CodeCompletionContext(Kind CCKind, QualType T, 430 llvm::StringRef getCompletionKindString(CodeCompletionContext::Kind Kind); 940 const CodeCompletionContext &CCContext, 946 const CodeCompletionContext &CCContext, 960 bool IncludeBriefComments, const CodeCompletionContext &CCContext, 965 bool IncludeBriefComments, const CodeCompletionContext &CCContext, 1124 CodeCompletionContext Context, in ProcessCodeCompleteResults() 1186 void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context,
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 197 CodeCompletionContext CompletionContext; 210 const CodeCompletionContext &CompletionContext, in ResultBuilder() 219 case CodeCompletionContext::CCC_Expression: in ResultBuilder() 220 case CodeCompletionContext::CCC_ObjCMessageReceiver: in ResultBuilder() 221 case CodeCompletionContext::CCC_ParenthesizedExpression: in ResultBuilder() 222 case CodeCompletionContext::CCC_Statement: in ResultBuilder() 223 case CodeCompletionContext::CCC_Recovery: in ResultBuilder() 279 const CodeCompletionContext &getCompletionContext() const { in getCompletionContext() 976 !(CompletionContext.getKind() == CodeCompletionContext::CCC_Statement || in getBasePriority() 978 CodeCompletionContext::CCC_ObjCMessageReceiver || in getBasePriority() [all …]
|
D | CodeCompleteConsumer.cpp | 45 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults() 91 StringRef clang::getCompletionKindString(CodeCompletionContext::Kind Kind) { in getCompletionKindString() 92 using CCKind = CodeCompletionContext::Kind; in getCompletionKindString() 536 Sema &SemaRef, CodeCompletionContext Context, CodeCompletionResult *Results, in ProcessCodeCompleteResults()
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 156 class CodeCompletionContext { 281 CodeCompletionContext(enum Kind Kind) : Kind(Kind), SelIdents(None) { } in CodeCompletionContext() function 284 CodeCompletionContext(enum Kind Kind, QualType T, 770 const CodeCompletionContext &CCContext, 776 const CodeCompletionContext &CCContext, 920 CodeCompletionContext Context, 961 void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context,
|
/external/llvm-project/clang/unittests/Sema/ |
D | CodeCompleteTest.cpp | 45 void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context, in ProcessCodeCompleteResults() 63 CodeCompletionContext::VisitedContextSet VisitedContexts) const { in getVisitedNamespace()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | QualityTests.cpp | 293 Instance.Context = CodeCompletionContext::CCC_DotMemberAccess; in TEST()
|
D | ClangdTests.cpp | 1083 EXPECT_EQ(Res.Context, CodeCompletionContext::CCC_Recovery); in TEST() 1154 EXPECT_EQ(Res.Context, CodeCompletionContext::CCC_Recovery); in TEST()
|
D | CodeCompleteTests.cpp | 50 using ContextKind = CodeCompletionContext::Kind; 1863 TEST(CompletionTest, CodeCompletionContext) { in TEST() argument 1875 EXPECT_THAT(Results.Context, CodeCompletionContext::CCC_DotMemberAccess); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.cpp | 684 *ASTCtx, *PP, CodeCompletionContext::CCC_Symbol, *CompletionAllocator, in addDeclaration()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionParser.cpp | 952 void ProcessCodeCompleteResults(Sema &SemaRef, CodeCompletionContext Context, in ProcessCodeCompleteResults()
|