Lines Matching refs:ResultBuilder
43 class ResultBuilder { class
49 typedef bool (ResultBuilder::*LookupFilter)(const NamedDecl *) const;
172 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, in ResultBuilder() function in __anonaebf90eb0111::ResultBuilder
347 class ResultBuilder::ShadowMapEntry::iterator {
417 ResultBuilder::ShadowMapEntry::iterator
418 ResultBuilder::ShadowMapEntry::begin() const { in begin()
428 ResultBuilder::ShadowMapEntry::iterator
429 ResultBuilder::ShadowMapEntry::end() const { in end()
493 bool ResultBuilder::isInterestingDecl(const NamedDecl *ND, in isInterestingDecl()
528 if (Filter == &ResultBuilder::IsNestedNameSpecifier || in isInterestingDecl()
530 Filter != &ResultBuilder::IsNamespace && in isInterestingDecl()
531 Filter != &ResultBuilder::IsNamespaceOrAlias && in isInterestingDecl()
540 (Filter != &ResultBuilder::IsMember || in isInterestingDecl()
553 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext, in CheckHiddenResult()
709 unsigned ResultBuilder::getBasePriority(const NamedDecl *ND) { in getBasePriority()
748 void ResultBuilder::AdjustResultPriorityForDecl(Result &R) { in AdjustResultPriorityForDecl()
774 void ResultBuilder::MaybeAddConstructorResults(Result R) { in MaybeAddConstructorResults()
812 void ResultBuilder::MaybeAddResult(Result R, DeclContext *CurContext) { in MaybeAddResult()
930 void ResultBuilder::AddResult(Result R, DeclContext *CurContext, in AddResult()
968 else if (Filter == &ResultBuilder::IsMember && !R.Qualifier && InBaseClass && in AddResult()
1014 void ResultBuilder::AddResult(Result R) { in AddResult()
1021 void ResultBuilder::EnterNewScope() { ShadowMaps.emplace_back(); } in EnterNewScope()
1024 void ResultBuilder::ExitScope() { in ExitScope()
1036 bool ResultBuilder::IsOrdinaryName(const NamedDecl *ND) const { in IsOrdinaryName()
1054 bool ResultBuilder::IsOrdinaryNonTypeName(const NamedDecl *ND) const { in IsOrdinaryNonTypeName()
1070 bool ResultBuilder::IsIntegralConstantValue(const NamedDecl *ND) const { in IsIntegralConstantValue()
1083 bool ResultBuilder::IsOrdinaryNonValueName(const NamedDecl *ND) const { in IsOrdinaryNonValueName()
1097 bool ResultBuilder::IsNestedNameSpecifier(const NamedDecl *ND) const { in IsNestedNameSpecifier()
1106 bool ResultBuilder::IsEnum(const NamedDecl *ND) const { in IsEnum()
1111 bool ResultBuilder::IsClassOrStruct(const NamedDecl *ND) const { in IsClassOrStruct()
1126 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion()
1138 bool ResultBuilder::IsNamespace(const NamedDecl *ND) const { in IsNamespace()
1144 bool ResultBuilder::IsNamespaceOrAlias(const NamedDecl *ND) const { in IsNamespaceOrAlias()
1149 bool ResultBuilder::IsType(const NamedDecl *ND) const { in IsType()
1159 bool ResultBuilder::IsMember(const NamedDecl *ND) const { in IsMember()
1200 bool ResultBuilder::IsObjCMessageReceiver(const NamedDecl *ND) const { in IsObjCMessageReceiver()
1209 bool ResultBuilder::IsObjCMessageReceiverOrLambdaCapture(const NamedDecl *ND) const { in IsObjCMessageReceiverOrLambdaCapture()
1220 bool ResultBuilder::IsObjCCollection(const NamedDecl *ND) const { in IsObjCCollection()
1235 bool ResultBuilder::IsImpossibleToSatisfy(const NamedDecl *ND) const { in IsImpossibleToSatisfy()
1241 bool ResultBuilder::IsObjCIvar(const NamedDecl *ND) const { in IsObjCIvar()
1249 ResultBuilder &Results;
1253 CodeCompletionDeclConsumer(ResultBuilder &Results, DeclContext *CurContext) in CodeCompletionDeclConsumer()
1262 ResultBuilder::Result Result(ND, Results.getBasePriority(ND), nullptr, in FoundDecl()
1271 ResultBuilder &Results) { in AddTypeSpecifierResults()
1353 ResultBuilder &Results) { in AddStorageSpecifiers()
1364 ResultBuilder &Results) { in AddFunctionSpecifiers()
1398 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt);
1399 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt);
1401 ResultBuilder &Results,
1404 ResultBuilder &Results,
1407 ResultBuilder &Results,
1409 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt);
1411 static void AddTypedefResult(ResultBuilder &Results) { in AddTypedefResult()
1501 static void addThisCompletion(Sema &S, ResultBuilder &Results) { in addThisCompletion()
1521 ResultBuilder &Results) { in AddOrdinaryNameResults()
3088 static void AddMacroResults(Preprocessor &PP, ResultBuilder &Results, in AddMacroResults()
3116 ResultBuilder &Results) { in AddPrettyFunctionResults()
3202 ResultBuilder &Results) { in MaybeAddOverrideCalls()
3269 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteModuleImport()
3320 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOrdinaryName()
3338 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteOrdinaryName()
3347 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteOrdinaryName()
3349 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteOrdinaryName()
3409 ResultBuilder &Results);
3415 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteDeclSpec()
3436 Results.setFilter(&ResultBuilder::IsImpossibleToSatisfy); in CodeCompleteDeclSpec()
3488 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteExpression()
3492 Results.setFilter(&ResultBuilder::IsObjCCollection); in CodeCompleteExpression()
3494 Results.setFilter(&ResultBuilder::IsIntegralConstantValue); in CodeCompleteExpression()
3496 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteExpression()
3498 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteExpression()
3569 ResultBuilder &Results) { in AddObjCProperties()
3676 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteMemberReferenceExpr()
3679 &ResultBuilder::IsMember); in CodeCompleteMemberReferenceExpr()
3739 Results.setFilter(&ResultBuilder::IsObjCIvar); in CodeCompleteMemberReferenceExpr()
3759 ResultBuilder::LookupFilter Filter = nullptr; in CodeCompleteTag()
3764 Filter = &ResultBuilder::IsEnum; in CodeCompleteTag()
3769 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
3776 Filter = &ResultBuilder::IsClassOrStruct; in CodeCompleteTag()
3784 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTag()
3795 Results.setFilter(&ResultBuilder::IsNestedNameSpecifier); in CodeCompleteTag()
3804 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTypeQualifiers()
3890 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteCase()
4159 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteAfterIf()
4162 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteAfterIf()
4239 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteQualifiedId()
4271 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsing()
4274 &ResultBuilder::IsNestedNameSpecifier); in CodeCompleteUsing()
4299 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsingDirective()
4302 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteUsingDirective()
4324 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceDecl()
4329 &ResultBuilder::IsNamespace); in CodeCompleteNamespaceDecl()
4366 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceAliasDecl()
4369 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteNamespaceAliasDecl()
4383 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOperatorName()
4386 &ResultBuilder::IsType); in CodeCompleteOperatorName()
4422 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteConstructorInitializer()
4536 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteLambdaIntroducer()
4583 ResultBuilder &Results, in AddObjCImplementationResults()
4607 ResultBuilder &Results, in AddObjCInterfaceResults()
4626 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt) { in AddObjCTopLevelResults()
4677 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtDirective()
4693 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt) { in AddObjCExpressionResults()
4758 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt) { in AddObjCStatementResults()
4805 ResultBuilder &Results, in AddObjCVisibilityResults()
4816 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtVisibility()
4828 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtStatement()
4841 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtExpression()
4891 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyFlags()
5021 ResultBuilder &Results, in AddObjCMethods()
5120 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyGetter()
5148 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySetter()
5165 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPassingType()
5227 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteObjCPassingType()
5330 ResultBuilder &Results) { in AddSuperSendCompletion()
5434 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMessageReceiver()
5438 ? &ResultBuilder::IsObjCMessageReceiverOrLambdaCapture in CodeCompleteObjCMessageReceiver()
5439 : &ResultBuilder::IsObjCMessageReceiver); in CodeCompleteObjCMessageReceiver()
5533 static QualType getPreferredArgumentTypeForMessageSend(ResultBuilder &Results, in getPreferredArgumentTypeForMessageSend()
5570 ResultBuilder &Results) { in AddClassMessageCompletions()
5650 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCClassMessage()
5722 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInstanceMessage()
5869 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSelector()
5917 ResultBuilder &Results) { in AddProtocolResults()
5931 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolReferences()
5959 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolDecl()
5983 ResultBuilder &Results) { in AddInterfaceResults()
5997 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceDecl()
6017 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSuperclass()
6042 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationDecl()
6065 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceCategory()
6109 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationCategory()
6139 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyDefinition()
6180 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySynthesizeIvar()
6399 ResultBuilder &Results) { in AddObjCKeyValueCompletions()
7069 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDecl()
7216 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDeclSelector()
7269 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorDirective()
7434 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorMacroName()
7462 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorExpression()
7506 ResultBuilder Builder(*this, Allocator, CCTUInfo, in GatherGlobalCodeCompletions()