Home
last modified time | relevance | path

Searched refs:CodeCompletionContext (Results 1 – 5 of 5) sorted by relevance

/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp292 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 …]
/external/clang/lib/Frontend/
DASTUnit.cpp279 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts()
280 | (1LL << CodeCompletionContext::CCC_ObjCIvarList) in getDeclShowContexts()
281 | (1LL << CodeCompletionContext::CCC_ClassStructUnion) in getDeclShowContexts()
282 | (1LL << CodeCompletionContext::CCC_Statement) in getDeclShowContexts()
283 | (1LL << CodeCompletionContext::CCC_Type) in getDeclShowContexts()
284 | (1LL << CodeCompletionContext::CCC_ParenthesizedExpression); in getDeclShowContexts()
288 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts()
293 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver); in getDeclShowContexts()
297 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName); in getDeclShowContexts()
301 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag); in getDeclShowContexts()
[all …]
/external/clang/lib/Sema/
DSemaCodeComplete.cpp161 CodeCompletionContext CompletionContext;
174 const CodeCompletionContext &CompletionContext, in ResultBuilder()
185 case CodeCompletionContext::CCC_Expression: in ResultBuilder()
186 case CodeCompletionContext::CCC_ObjCMessageReceiver: in ResultBuilder()
187 case CodeCompletionContext::CCC_ParenthesizedExpression: in ResultBuilder()
188 case CodeCompletionContext::CCC_Statement: in ResultBuilder()
189 case CodeCompletionContext::CCC_Recovery: in ResultBuilder()
248 const CodeCompletionContext &getCompletionContext() const { in getCompletionContext()
738 !(CompletionContext.getKind() == CodeCompletionContext::CCC_Statement || in getBasePriority()
740 == CodeCompletionContext::CCC_ObjCMessageReceiver || in getBasePriority()
[all …]
DCodeCompleteConsumer.cpp34 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults()
433 CodeCompletionContext Context, in ProcessCodeCompleteResults()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h154 class CodeCompletionContext {
279 CodeCompletionContext(enum Kind Kind) : Kind(Kind), SelIdents(None) { } in CodeCompletionContext() function
282 CodeCompletionContext(enum Kind Kind, QualType T,
916 CodeCompletionContext Context,
957 void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context,