Home
last modified time | relevance | path

Searched refs:CodeCompletionContext (Results 1 – 6 of 6) 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 …]
DCXCursor.cpp1353 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString()
1367 CodeCompletionContext::CCC_Other, in clang_getCursorCompletionString()
/external/clang/lib/Frontend/
DASTUnit.cpp280 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/clang/lib/Sema/
DSemaCodeComplete.cpp160 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 …]
DCodeCompleteConsumer.cpp34 bool CodeCompletionContext::wantConstructorResults() const { in wantConstructorResults()
433 CodeCompletionContext Context, in ProcessCodeCompleteResults()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h156 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,