Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Contexts

263 /// \brief Determine the set of code-completion contexts in which this 
275 uint64_t Contexts = 0;
278 // Types can appear in these contexts.
280 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel)
287 // In C++, types can appear in expressions contexts (for functional casts).
289 Contexts |= (1LL << CodeCompletionContext::CCC_Expression);
294 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver);
298 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName);
302 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag);
309 Contexts |= (1LL << CodeCompletionContext::CCC_UnionTag);
311 Contexts |= (1LL << CodeCompletionContext::CCC_ClassOrStructTag);
318 // Values can appear in these contexts.
319 Contexts = (1LL << CodeCompletionContext::CCC_Statement)
324 Contexts = (1LL << CodeCompletionContext::CCC_ObjCProtocolName);
326 Contexts = (1LL << CodeCompletionContext::CCC_ObjCCategoryName);
328 Contexts = (1LL << CodeCompletionContext::CCC_Namespace);
334 return Contexts;
402 // The contexts in which a nested-name-specifier can appear in C++.
423 // If there any contexts where this completion can be a
2100 // Compute the set of contexts in which we will look when we don't have
2244 // If the context we are in matches any of the contexts we are