Lines Matching refs:CodeCompletionContext
139 CodeCompletionContext::Kind CtxKind) { in toCompletionItemKind()
142 if (CtxKind == CodeCompletionContext::CCC_IncludedFile) in toCompletionItemKind()
271 CodeCompletionContext::Kind ContextKind, in CodeCompletionBuilder()
578 getQueryScopes(CodeCompletionContext &CCContext, const Sema &CCSema, in getQueryScopes()
636 bool contextAllowsIndex(enum CodeCompletionContext::Kind K) { in contextAllowsIndex()
638 case CodeCompletionContext::CCC_TopLevel: in contextAllowsIndex()
639 case CodeCompletionContext::CCC_ObjCInterface: in contextAllowsIndex()
640 case CodeCompletionContext::CCC_ObjCImplementation: in contextAllowsIndex()
641 case CodeCompletionContext::CCC_ObjCIvarList: in contextAllowsIndex()
642 case CodeCompletionContext::CCC_ClassStructUnion: in contextAllowsIndex()
643 case CodeCompletionContext::CCC_Statement: in contextAllowsIndex()
644 case CodeCompletionContext::CCC_Expression: in contextAllowsIndex()
645 case CodeCompletionContext::CCC_ObjCMessageReceiver: in contextAllowsIndex()
646 case CodeCompletionContext::CCC_EnumTag: in contextAllowsIndex()
647 case CodeCompletionContext::CCC_UnionTag: in contextAllowsIndex()
648 case CodeCompletionContext::CCC_ClassOrStructTag: in contextAllowsIndex()
649 case CodeCompletionContext::CCC_ObjCProtocolName: in contextAllowsIndex()
650 case CodeCompletionContext::CCC_Namespace: in contextAllowsIndex()
651 case CodeCompletionContext::CCC_Type: in contextAllowsIndex()
652 case CodeCompletionContext::CCC_ParenthesizedExpression: in contextAllowsIndex()
653 case CodeCompletionContext::CCC_ObjCInterfaceName: in contextAllowsIndex()
654 case CodeCompletionContext::CCC_ObjCCategoryName: in contextAllowsIndex()
655 case CodeCompletionContext::CCC_Symbol: in contextAllowsIndex()
656 case CodeCompletionContext::CCC_SymbolOrNewName: in contextAllowsIndex()
658 case CodeCompletionContext::CCC_OtherWithMacros: in contextAllowsIndex()
659 case CodeCompletionContext::CCC_DotMemberAccess: in contextAllowsIndex()
660 case CodeCompletionContext::CCC_ArrowMemberAccess: in contextAllowsIndex()
661 case CodeCompletionContext::CCC_ObjCPropertyAccess: in contextAllowsIndex()
662 case CodeCompletionContext::CCC_MacroName: in contextAllowsIndex()
663 case CodeCompletionContext::CCC_MacroNameUse: in contextAllowsIndex()
664 case CodeCompletionContext::CCC_PreprocessorExpression: in contextAllowsIndex()
665 case CodeCompletionContext::CCC_PreprocessorDirective: in contextAllowsIndex()
666 case CodeCompletionContext::CCC_SelectorName: in contextAllowsIndex()
667 case CodeCompletionContext::CCC_TypeQualifiers: in contextAllowsIndex()
668 case CodeCompletionContext::CCC_ObjCInstanceMessage: in contextAllowsIndex()
669 case CodeCompletionContext::CCC_ObjCClassMessage: in contextAllowsIndex()
670 case CodeCompletionContext::CCC_IncludedFile: in contextAllowsIndex()
672 case CodeCompletionContext::CCC_Other: // Be conservative. in contextAllowsIndex()
673 case CodeCompletionContext::CCC_NaturalLanguage: in contextAllowsIndex()
674 case CodeCompletionContext::CCC_Recovery: in contextAllowsIndex()
675 case CodeCompletionContext::CCC_NewName: in contextAllowsIndex()
716 CCContext(CodeCompletionContext::CCC_Other), Opts(Opts), in CompletionRecorder()
723 CodeCompletionContext CCContext;
727 void ProcessCodeCompleteResults(class Sema &S, CodeCompletionContext Context, in ProcessCodeCompleteResults()
738 if (Context.getKind() == CodeCompletionContext::CCC_Recovery) { in ProcessCodeCompleteResults()
1162 bool allowIndex(CodeCompletionContext &CC) { in allowIndex()
1245 CodeCompletionContext::Kind CCContextKind = CodeCompletionContext::CCC_Other;
1381 CCContextKind = CodeCompletionContext::CCC_Recovery; in runWithoutSema()