Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp282 enum clang::CodeCompletionContext::Kind ContextKind;
346 enum CodeCompletionContext::Kind kind, in getContextsForContextKind()
350 case CodeCompletionContext::CCC_OtherWithMacros: { in getContextsForContextKind()
356 case CodeCompletionContext::CCC_TopLevel: in getContextsForContextKind()
357 case CodeCompletionContext::CCC_ObjCIvarList: in getContextsForContextKind()
358 case CodeCompletionContext::CCC_ClassStructUnion: in getContextsForContextKind()
359 case CodeCompletionContext::CCC_Type: { in getContextsForContextKind()
371 case CodeCompletionContext::CCC_Statement: { in getContextsForContextKind()
384 case CodeCompletionContext::CCC_Expression: { in getContextsForContextKind()
397 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.cpp159 CodeCompletionContext CompletionContext;
172 const CodeCompletionContext &CompletionContext, in ResultBuilder()
183 case CodeCompletionContext::CCC_Expression: in ResultBuilder()
184 case CodeCompletionContext::CCC_ObjCMessageReceiver: in ResultBuilder()
185 case CodeCompletionContext::CCC_ParenthesizedExpression: in ResultBuilder()
186 case CodeCompletionContext::CCC_Statement: in ResultBuilder()
187 case CodeCompletionContext::CCC_Recovery: in ResultBuilder()
243 const CodeCompletionContext &getCompletionContext() const { in getCompletionContext()
2940 CodeCompletionContext Context, in HandleCodeCompleteResults()
2947 static enum CodeCompletionContext::Kind mapCodeCompletionContext(Sema &S, in mapCodeCompletionContext()
[all …]
DCodeCompleteConsumer.cpp35 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults()
467 CodeCompletionContext Context, in ProcessCodeCompleteResults()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h153 class CodeCompletionContext {
280 CodeCompletionContext(enum Kind Kind) : Kind(Kind), SelIdents(NULL), in CodeCompletionContext() function
284 CodeCompletionContext(enum Kind Kind, QualType T,
945 CodeCompletionContext Context,
987 CodeCompletionContext Context,