Lines Matching refs:CodeCompletionContext

160     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()
759 == CodeCompletionContext::CCC_ParenthesizedExpression)) in getBasePriority()
2579 const CodeCompletionContext &CCContext, in CreateCodeCompletionString()
2596 const CodeCompletionContext &CCContext, in CreateCodeCompletionString()
3143 CodeCompletionContext Context, in HandleCodeCompleteResults()
3150 static enum CodeCompletionContext::Kind mapCodeCompletionContext(Sema &S, in mapCodeCompletionContext()
3154 return CodeCompletionContext::CCC_TopLevel; in mapCodeCompletionContext()
3157 return CodeCompletionContext::CCC_ClassStructUnion; in mapCodeCompletionContext()
3160 return CodeCompletionContext::CCC_ObjCInterface; in mapCodeCompletionContext()
3163 return CodeCompletionContext::CCC_ObjCImplementation; in mapCodeCompletionContext()
3166 return CodeCompletionContext::CCC_ObjCIvarList; in mapCodeCompletionContext()
3171 return CodeCompletionContext::CCC_TopLevel; in mapCodeCompletionContext()
3173 return CodeCompletionContext::CCC_ClassStructUnion; in mapCodeCompletionContext()
3174 return CodeCompletionContext::CCC_Other; in mapCodeCompletionContext()
3177 return CodeCompletionContext::CCC_Recovery; in mapCodeCompletionContext()
3182 return CodeCompletionContext::CCC_ParenthesizedExpression; in mapCodeCompletionContext()
3184 return CodeCompletionContext::CCC_Expression; in mapCodeCompletionContext()
3188 return CodeCompletionContext::CCC_Expression; in mapCodeCompletionContext()
3191 return CodeCompletionContext::CCC_Statement; in mapCodeCompletionContext()
3194 return CodeCompletionContext::CCC_Type; in mapCodeCompletionContext()
3197 return CodeCompletionContext::CCC_ParenthesizedExpression; in mapCodeCompletionContext()
3200 return CodeCompletionContext::CCC_Type; in mapCodeCompletionContext()
3284 CodeCompletionContext::CCC_Other); in CodeCompleteModuleImport()
3431 ? CodeCompletionContext::CCC_PotentiallyQualifiedName in CodeCompleteDeclSpec()
3432 : CodeCompletionContext::CCC_Name); in CodeCompleteDeclSpec()
3503 CodeCompletionContext::CCC_Expression); in CodeCompleteExpression()
3542 CodeCompletionContext(CodeCompletionContext::CCC_Expression, in CodeCompleteExpression()
3576 static void AddObjCProperties(const CodeCompletionContext &CCContext, in AddObjCProperties()
3673 enum CodeCompletionContext::Kind contextKind; in CodeCompleteMemberReferenceExpr()
3676 contextKind = CodeCompletionContext::CCC_ArrowMemberAccess; in CodeCompleteMemberReferenceExpr()
3681 contextKind = CodeCompletionContext::CCC_ObjCPropertyAccess; in CodeCompleteMemberReferenceExpr()
3684 contextKind = CodeCompletionContext::CCC_DotMemberAccess; in CodeCompleteMemberReferenceExpr()
3688 CodeCompletionContext CCContext(contextKind, BaseType); in CodeCompleteMemberReferenceExpr()
3773 enum CodeCompletionContext::Kind ContextKind in CodeCompleteTag()
3774 = CodeCompletionContext::CCC_Other; in CodeCompleteTag()
3778 ContextKind = CodeCompletionContext::CCC_EnumTag; in CodeCompleteTag()
3783 ContextKind = CodeCompletionContext::CCC_UnionTag; in CodeCompleteTag()
3790 ContextKind = CodeCompletionContext::CCC_ClassOrStructTag; in CodeCompleteTag()
3819 CodeCompletionContext::CCC_TypeQualifiers); in CodeCompleteTypeQualifiers()
3912 CodeCompletionContext::CCC_Expression); in CodeCompleteCase()
3925 enum CodeCompletionContext::Kind kind = CodeCompletionContext::CCC_Other; in CodeCompleteCase()
3928 kind = CodeCompletionContext::CCC_OtherWithMacros; in CodeCompleteCase()
4261 CodeCompletionContext::CCC_Name); in CodeCompleteQualifiedId()
4293 CodeCompletionContext::CCC_PotentiallyQualifiedName, in CodeCompleteUsing()
4309 CodeCompletionContext::CCC_PotentiallyQualifiedName, in CodeCompleteUsing()
4321 CodeCompletionContext::CCC_Namespace, in CodeCompleteUsingDirective()
4329 CodeCompletionContext::CCC_Namespace, in CodeCompleteUsingDirective()
4347 ? CodeCompletionContext::CCC_Namespace in CodeCompleteNamespaceDecl()
4348 : CodeCompletionContext::CCC_Other, in CodeCompleteNamespaceDecl()
4388 CodeCompletionContext::CCC_Namespace, in CodeCompleteNamespaceAliasDecl()
4405 CodeCompletionContext::CCC_Type, in CodeCompleteOperatorName()
4426 CodeCompletionContext::CCC_Type, in CodeCompleteOperatorName()
4444 CodeCompletionContext::CCC_PotentiallyQualifiedName); in CodeCompleteConstructorInitializer()
4558 CodeCompletionContext::CCC_Other); in CodeCompleteLambdaIntroducer()
4699 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtDirective()
4709 CodeCompletionContext::CCC_Other, in CodeCompleteObjCAtDirective()
4838 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtVisibility()
4843 CodeCompletionContext::CCC_Other, in CodeCompleteObjCAtVisibility()
4850 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtStatement()
4856 CodeCompletionContext::CCC_Other, in CodeCompleteObjCAtStatement()
4863 CodeCompletionContext::CCC_Other); in CodeCompleteObjCAtExpression()
4868 CodeCompletionContext::CCC_Other, in CodeCompleteObjCAtExpression()
4913 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyFlags()
4964 CodeCompletionContext::CCC_Other, in CodeCompleteObjCPropertyFlags()
5142 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyGetter()
5150 CodeCompletionContext::CCC_Other, in CodeCompleteObjCPropertyGetter()
5170 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertySetter()
5179 CodeCompletionContext::CCC_Other, in CodeCompleteObjCPropertySetter()
5187 CodeCompletionContext::CCC_Type); in CodeCompleteObjCPassingType()
5256 CodeCompletionContext::CCC_Type, in CodeCompleteObjCPassingType()
5456 CodeCompletionContext::CCC_ObjCMessageReceiver, in CodeCompleteObjCMessageReceiver()
5672 CodeCompletionContext(CodeCompletionContext::CCC_ObjCClassMessage, in CodeCompleteObjCClassMessage()
5744 CodeCompletionContext(CodeCompletionContext::CCC_ObjCInstanceMessage, in CodeCompleteObjCInstanceMessage()
5891 CodeCompletionContext::CCC_SelectorName); in CodeCompleteObjCSelector()
5929 CodeCompletionContext::CCC_SelectorName, in CodeCompleteObjCSelector()
5953 CodeCompletionContext::CCC_ObjCProtocolName); in CodeCompleteObjCProtocolReferences()
5974 CodeCompletionContext::CCC_ObjCProtocolName, in CodeCompleteObjCProtocolReferences()
5981 CodeCompletionContext::CCC_ObjCProtocolName); in CodeCompleteObjCProtocolDecl()
5994 CodeCompletionContext::CCC_ObjCProtocolName, in CodeCompleteObjCProtocolDecl()
6019 CodeCompletionContext::CCC_Other); in CodeCompleteObjCInterfaceDecl()
6031 CodeCompletionContext::CCC_ObjCInterfaceName, in CodeCompleteObjCInterfaceDecl()
6039 CodeCompletionContext::CCC_ObjCInterfaceName); in CodeCompleteObjCSuperclass()
6057 CodeCompletionContext::CCC_ObjCInterfaceName, in CodeCompleteObjCSuperclass()
6064 CodeCompletionContext::CCC_Other); in CodeCompleteObjCImplementationDecl()
6076 CodeCompletionContext::CCC_ObjCInterfaceName, in CodeCompleteObjCImplementationDecl()
6087 CodeCompletionContext::CCC_ObjCCategoryName); in CodeCompleteObjCInterfaceCategory()
6111 CodeCompletionContext::CCC_ObjCCategoryName, in CodeCompleteObjCInterfaceCategory()
6131 CodeCompletionContext::CCC_ObjCCategoryName); in CodeCompleteObjCImplementationCategory()
6153 CodeCompletionContext::CCC_ObjCCategoryName, in CodeCompleteObjCImplementationCategory()
6158 CodeCompletionContext CCContext(CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertyDefinition()
6193 CodeCompletionContext::CCC_Other, in CodeCompleteObjCPropertyDefinition()
6202 CodeCompletionContext::CCC_Other); in CodeCompleteObjCPropertySynthesizeIvar()
6286 CodeCompletionContext::CCC_Other, in CodeCompleteObjCPropertySynthesizeIvar()
7077 CodeCompletionContext::CCC_Other, in CodeCompleteObjCMethodDecl()
7091 CodeCompletionContext::CCC_Other); in CodeCompleteObjCMethodDecl()
7212 CodeCompletionContext::CCC_Other, in CodeCompleteObjCMethodDecl()
7238 CodeCompletionContext::CCC_Other); in CodeCompleteObjCMethodDeclSelector()
7284 CodeCompletionContext::CCC_Other, in CodeCompleteObjCMethodDeclSelector()
7291 CodeCompletionContext::CCC_PreprocessorDirective); in CodeCompletePreprocessorDirective()
7443 CodeCompletionContext::CCC_PreprocessorDirective, in CodeCompletePreprocessorDirective()
7456 IsDefinition? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
7457 : CodeCompletionContext::CCC_MacroNameUse); in CodeCompletePreprocessorMacroName()
7484 CodeCompletionContext::CCC_PreprocessorExpression); in CodeCompletePreprocessorExpression()
7502 CodeCompletionContext::CCC_PreprocessorExpression, in CodeCompletePreprocessorExpression()
7519 CodeCompletionContext::CCC_NaturalLanguage, in CodeCompleteNaturalLanguage()
7527 CodeCompletionContext::CCC_Recovery); in GatherGlobalCodeCompletions()