Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp289 enum clang::CodeCompletionContext::Kind ContextKind;
356 enum CodeCompletionContext::Kind kind, in getContextsForContextKind()
360 case CodeCompletionContext::CCC_OtherWithMacros: { in getContextsForContextKind()
366 case CodeCompletionContext::CCC_TopLevel: in getContextsForContextKind()
367 case CodeCompletionContext::CCC_ObjCIvarList: in getContextsForContextKind()
368 case CodeCompletionContext::CCC_ClassStructUnion: in getContextsForContextKind()
369 case CodeCompletionContext::CCC_Type: { in getContextsForContextKind()
381 case CodeCompletionContext::CCC_Statement: { in getContextsForContextKind()
394 case CodeCompletionContext::CCC_Expression: { in getContextsForContextKind()
407 case CodeCompletionContext::CCC_ObjCMessageReceiver: { in getContextsForContextKind()
[all …]
/external/clang/lib/Frontend/
DASTUnit.cpp288 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts()
289 | (1LL << CodeCompletionContext::CCC_ObjCIvarList) in getDeclShowContexts()
290 | (1LL << CodeCompletionContext::CCC_ClassStructUnion) in getDeclShowContexts()
291 | (1LL << CodeCompletionContext::CCC_Statement) in getDeclShowContexts()
292 | (1LL << CodeCompletionContext::CCC_Type) in getDeclShowContexts()
293 | (1LL << CodeCompletionContext::CCC_ParenthesizedExpression); in getDeclShowContexts()
297 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts()
302 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver); in getDeclShowContexts()
306 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName); in getDeclShowContexts()
310 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()
741 !(CompletionContext.getKind() == CodeCompletionContext::CCC_Statement || in getBasePriority()
743 == CodeCompletionContext::CCC_ObjCMessageReceiver || in getBasePriority()
[all …]
DCodeCompleteConsumer.cpp35 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults()
437 CodeCompletionContext Context, in ProcessCodeCompleteResults()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h153 class CodeCompletionContext {
281 CodeCompletionContext(enum Kind Kind) : Kind(Kind), SelIdents(NULL), in CodeCompletionContext() function
285 CodeCompletionContext(enum Kind Kind, QualType T,
935 CodeCompletionContext Context,
977 CodeCompletionContext Context,