Lines Matching refs:CodeCompletionContext
197 CodeCompletionContext CompletionContext;
210 const CodeCompletionContext &CompletionContext, in ResultBuilder()
219 case CodeCompletionContext::CCC_Expression: in ResultBuilder()
220 case CodeCompletionContext::CCC_ObjCMessageReceiver: in ResultBuilder()
221 case CodeCompletionContext::CCC_ParenthesizedExpression: in ResultBuilder()
222 case CodeCompletionContext::CCC_Statement: in ResultBuilder()
223 case CodeCompletionContext::CCC_Recovery: in ResultBuilder()
279 const CodeCompletionContext &getCompletionContext() const { in getCompletionContext()
976 !(CompletionContext.getKind() == CodeCompletionContext::CCC_Statement || in getBasePriority()
978 CodeCompletionContext::CCC_ObjCMessageReceiver || in getBasePriority()
980 CodeCompletionContext::CCC_ParenthesizedExpression)) in getBasePriority()
1948 const CodeCompletionContext &CCContext, in AddOverrideResults()
2118 AddOverrideResults(Results, CodeCompletionContext::CCC_ClassStructUnion, in AddOrdinaryNameResults()
3228 Sema &S, const CodeCompletionContext &CCContext, in CreateCodeCompletionString()
3288 ASTContext &Ctx, Preprocessor &PP, const CodeCompletionContext &CCContext, in CreateCodeCompletionString()
3345 bool IncludeBriefComments, const CodeCompletionContext &CCContext, in createCodeCompletionStringForOverride()
3376 bool IncludeBriefComments, const CodeCompletionContext &CCContext, in createCodeCompletionStringForDecl()
3940 CodeCompletionContext Context, in HandleCodeCompleteResults()
3947 static CodeCompletionContext
3951 return CodeCompletionContext::CCC_TopLevel; in mapCodeCompletionContext()
3954 return CodeCompletionContext::CCC_ClassStructUnion; in mapCodeCompletionContext()
3957 return CodeCompletionContext::CCC_ObjCInterface; in mapCodeCompletionContext()
3960 return CodeCompletionContext::CCC_ObjCImplementation; in mapCodeCompletionContext()
3963 return CodeCompletionContext::CCC_ObjCIvarList; in mapCodeCompletionContext()
3968 return CodeCompletionContext::CCC_TopLevel; in mapCodeCompletionContext()
3970 return CodeCompletionContext::CCC_ClassStructUnion; in mapCodeCompletionContext()
3971 return CodeCompletionContext::CCC_Other; in mapCodeCompletionContext()
3974 return CodeCompletionContext::CCC_Recovery; in mapCodeCompletionContext()
3979 return CodeCompletionContext::CCC_ParenthesizedExpression; in mapCodeCompletionContext()
3981 return CodeCompletionContext::CCC_Expression; in mapCodeCompletionContext()
3984 return CodeCompletionContext::CCC_Expression; in mapCodeCompletionContext()
3986 return CodeCompletionContext(CodeCompletionContext::CCC_Expression, in mapCodeCompletionContext()
3990 return CodeCompletionContext::CCC_Statement; in mapCodeCompletionContext()
3993 return CodeCompletionContext::CCC_Type; in mapCodeCompletionContext()
3996 return CodeCompletionContext::CCC_ParenthesizedExpression; in mapCodeCompletionContext()
3999 return CodeCompletionContext::CCC_Type; in mapCodeCompletionContext()
4076 CodeCompletionContext::CCC_Other); in CodeCompleteModuleImport()
4222 ? CodeCompletionContext::CCC_SymbolOrNewName in CodeCompleteDeclSpec()
4223 : CodeCompletionContext::CCC_NewName); in CodeCompleteDeclSpec()
4399 CodeCompletionContext( in CodeCompleteExpression()
4401 ? CodeCompletionContext::CCC_ParenthesizedExpression in CodeCompleteExpression()
4402 : CodeCompletionContext::CCC_Expression, in CodeCompleteExpression()
4540 AddObjCProperties(const CodeCompletionContext &CCContext, in AddObjCProperties()
5151 enum CodeCompletionContext::Kind contextKind; in CodeCompleteMemberReferenceExpr()
5159 contextKind = CodeCompletionContext::CCC_ArrowMemberAccess; in CodeCompleteMemberReferenceExpr()
5163 contextKind = CodeCompletionContext::CCC_ObjCPropertyAccess; in CodeCompleteMemberReferenceExpr()
5165 contextKind = CodeCompletionContext::CCC_DotMemberAccess; in CodeCompleteMemberReferenceExpr()
5169 CodeCompletionContext CCContext(contextKind, ConvertedBaseType); in CodeCompleteMemberReferenceExpr()
5301 CodeCompletionContext CCContext( in CodeCompleteObjCClassPropertyRefExpr()
5302 CodeCompletionContext::CCC_ObjCPropertyAccess); in CodeCompleteObjCClassPropertyRefExpr()
5322 enum CodeCompletionContext::Kind ContextKind = in CodeCompleteTag()
5323 CodeCompletionContext::CCC_Other; in CodeCompleteTag()
5327 ContextKind = CodeCompletionContext::CCC_EnumTag; in CodeCompleteTag()
5332 ContextKind = CodeCompletionContext::CCC_UnionTag; in CodeCompleteTag()
5339 ContextKind = CodeCompletionContext::CCC_ClassOrStructTag; in CodeCompleteTag()
5385 CodeCompletionContext::CCC_TypeQualifiers); in CodeCompleteTypeQualifiers()
5397 CodeCompletionContext::CCC_TypeQualifiers); in CodeCompleteFunctionQualifiers()
5482 CodeCompletionContext::CCC_Expression); in CodeCompleteCase()
5753 CodeCompletionContext CCC(CodeCompletionContext::CCC_DotMemberAccess, in CodeCompleteDesignator()
5856 CodeCompletionContext CC(CodeCompletionContext::CCC_Symbol, PreferredType); in CodeCompleteQualifiedId()
5948 CodeCompletionContext Context(CodeCompletionContext::CCC_SymbolOrNewName); in CodeCompleteUsing()
5980 CodeCompletionContext::CCC_Namespace, in CodeCompleteUsingDirective()
6006 ? CodeCompletionContext::CCC_Namespace in CodeCompleteNamespaceDecl()
6007 : CodeCompletionContext::CCC_Other, in CodeCompleteNamespaceDecl()
6047 CodeCompletionContext::CCC_Namespace, in CodeCompleteNamespaceAliasDecl()
6064 CodeCompletionContext::CCC_Type, in CodeCompleteOperatorName()
6103 CodeCompletionContext::CCC_Symbol); in CodeCompleteConstructorInitializer()
6254 CodeCompletionContext::CCC_Other); in CodeCompleteLambdaIntroducer()
6297 CodeCompletionContext::CCC_Other); in CodeCompleteAfterFunctionEquals()
6439 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtDirective()
6576 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtVisibility()
6587 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtStatement()
6599 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtExpression()
6648 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyFlags()
6884 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyGetter()
6910 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertySetter()
6926 CodeCompletionContext::CCC_Type); in CodeCompleteObjCPassingType()
7192 CodeCompletionContext::CCC_ObjCMessageReceiver, in CodeCompleteObjCMessageReceiver()
7404 CodeCompletionContext(CodeCompletionContext::CCC_ObjCClassMessage, T, in CodeCompleteObjCClassMessage()
7476 CodeCompletionContext(CodeCompletionContext::CCC_ObjCInstanceMessage, in CodeCompleteObjCInstanceMessage()
7619 CodeCompletionContext::CCC_SelectorName); in CodeCompleteObjCSelector()
7681 CodeCompletionContext::CCC_ObjCProtocolName); in CodeCompleteObjCProtocolReferences()
7707 CodeCompletionContext::CCC_ObjCProtocolName); in CodeCompleteObjCProtocolDecl()
7745 CodeCompletionContext::CCC_ObjCInterfaceName); in CodeCompleteObjCInterfaceDecl()
7764 CodeCompletionContext::CCC_ObjCInterfaceName); in CodeCompleteObjCSuperclass()
7788 CodeCompletionContext::CCC_ObjCImplementation); in CodeCompleteObjCImplementationDecl()
7810 CodeCompletionContext::CCC_ObjCCategoryName); in CodeCompleteObjCInterfaceCategory()
7854 CodeCompletionContext::CCC_ObjCCategoryName); in CodeCompleteObjCImplementationCategory()
7880 CodeCompletionContext CCContext(CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyDefinition()
7921 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertySynthesizeIvar()
8776 CodeCompletionContext::CCC_Other, nullptr, 0); in CodeCompleteObjCMethodDecl()
8789 CodeCompletionContext::CCC_Other); in CodeCompleteObjCMethodDecl()
8941 CodeCompletionContext::CCC_Other); in CodeCompleteObjCMethodDeclSelector()
9009 CodeCompletionContext::CCC_PreprocessorDirective); in CodeCompletePreprocessorDirective()
9172 IsDefinition ? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
9173 : CodeCompletionContext::CCC_MacroNameUse); in CodeCompletePreprocessorMacroName()
9199 CodeCompletionContext::CCC_PreprocessorExpression); in CodeCompletePreprocessorExpression()
9247 CodeCompletionContext::CCC_IncludedFile); in CodeCompleteIncludedFile()
9374 CodeCompletionContext::CCC_NaturalLanguage, nullptr, in CodeCompleteNaturalLanguage()
9381 CodeCompletionContext::CCC_Other); in CodeCompleteAvailabilityPlatformName()
9398 CodeCompletionContext::CCC_Recovery); in GatherGlobalCodeCompletions()