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() { in EnterNewScope()
1026 void ResultBuilder::ExitScope() { in ExitScope()
1038 bool ResultBuilder::IsOrdinaryName(const NamedDecl *ND) const { in IsOrdinaryName()
1056 bool ResultBuilder::IsOrdinaryNonTypeName(const NamedDecl *ND) const { in IsOrdinaryNonTypeName()
1072 bool ResultBuilder::IsIntegralConstantValue(const NamedDecl *ND) const { in IsIntegralConstantValue()
1085 bool ResultBuilder::IsOrdinaryNonValueName(const NamedDecl *ND) const { in IsOrdinaryNonValueName()
1099 bool ResultBuilder::IsNestedNameSpecifier(const NamedDecl *ND) const { in IsNestedNameSpecifier()
1108 bool ResultBuilder::IsEnum(const NamedDecl *ND) const { in IsEnum()
1113 bool ResultBuilder::IsClassOrStruct(const NamedDecl *ND) const { in IsClassOrStruct()
1128 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion()
1140 bool ResultBuilder::IsNamespace(const NamedDecl *ND) const { in IsNamespace()
1146 bool ResultBuilder::IsNamespaceOrAlias(const NamedDecl *ND) const { in IsNamespaceOrAlias()
1151 bool ResultBuilder::IsType(const NamedDecl *ND) const { in IsType()
1161 bool ResultBuilder::IsMember(const NamedDecl *ND) const { in IsMember()
1202 bool ResultBuilder::IsObjCMessageReceiver(const NamedDecl *ND) const { in IsObjCMessageReceiver()
1211 bool ResultBuilder::IsObjCMessageReceiverOrLambdaCapture(const NamedDecl *ND) const { in IsObjCMessageReceiverOrLambdaCapture()
1222 bool ResultBuilder::IsObjCCollection(const NamedDecl *ND) const { in IsObjCCollection()
1237 bool ResultBuilder::IsImpossibleToSatisfy(const NamedDecl *ND) const { in IsImpossibleToSatisfy()
1243 bool ResultBuilder::IsObjCIvar(const NamedDecl *ND) const { in IsObjCIvar()
1251 ResultBuilder &Results;
1255 CodeCompletionDeclConsumer(ResultBuilder &Results, DeclContext *CurContext) in CodeCompletionDeclConsumer()
1264 ResultBuilder::Result Result(ND, Results.getBasePriority(ND), nullptr, in FoundDecl()
1273 ResultBuilder &Results) { in AddTypeSpecifierResults()
1350 ResultBuilder &Results) { in AddStorageSpecifiers()
1361 ResultBuilder &Results) { in AddFunctionSpecifiers()
1395 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt);
1396 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt);
1398 ResultBuilder &Results,
1401 ResultBuilder &Results,
1404 ResultBuilder &Results,
1406 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt);
1408 static void AddTypedefResult(ResultBuilder &Results) { in AddTypedefResult()
1498 static void addThisCompletion(Sema &S, ResultBuilder &Results) { in addThisCompletion()
1518 ResultBuilder &Results) { in AddOrdinaryNameResults()
3029 static void AddMacroResults(Preprocessor &PP, ResultBuilder &Results, in AddMacroResults()
3056 ResultBuilder &Results) { in AddPrettyFunctionResults()
3142 ResultBuilder &Results) { in MaybeAddOverrideCalls()
3209 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteModuleImport()
3260 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOrdinaryName()
3278 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteOrdinaryName()
3287 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteOrdinaryName()
3289 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteOrdinaryName()
3349 ResultBuilder &Results);
3355 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteDeclSpec()
3376 Results.setFilter(&ResultBuilder::IsImpossibleToSatisfy); in CodeCompleteDeclSpec()
3428 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteExpression()
3432 Results.setFilter(&ResultBuilder::IsObjCCollection); in CodeCompleteExpression()
3434 Results.setFilter(&ResultBuilder::IsIntegralConstantValue); in CodeCompleteExpression()
3436 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteExpression()
3438 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteExpression()
3508 ResultBuilder &Results) { in AddObjCProperties()
3613 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteMemberReferenceExpr()
3617 &ResultBuilder::IsMember); in CodeCompleteMemberReferenceExpr()
3677 Results.setFilter(&ResultBuilder::IsObjCIvar); in CodeCompleteMemberReferenceExpr()
3697 ResultBuilder::LookupFilter Filter = nullptr; in CodeCompleteTag()
3702 Filter = &ResultBuilder::IsEnum; in CodeCompleteTag()
3707 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
3714 Filter = &ResultBuilder::IsClassOrStruct; in CodeCompleteTag()
3722 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTag()
3733 Results.setFilter(&ResultBuilder::IsNestedNameSpecifier); in CodeCompleteTag()
3742 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTypeQualifiers()
3828 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteCase()
4097 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteAfterIf()
4100 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteAfterIf()
4177 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteQualifiedId()
4209 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsing()
4212 &ResultBuilder::IsNestedNameSpecifier); in CodeCompleteUsing()
4237 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsingDirective()
4240 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteUsingDirective()
4262 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceDecl()
4267 &ResultBuilder::IsNamespace); in CodeCompleteNamespaceDecl()
4304 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceAliasDecl()
4307 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteNamespaceAliasDecl()
4321 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOperatorName()
4324 &ResultBuilder::IsType); in CodeCompleteOperatorName()
4357 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteConstructorInitializer()
4470 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteLambdaIntroducer()
4517 ResultBuilder &Results, in AddObjCImplementationResults()
4541 ResultBuilder &Results, in AddObjCInterfaceResults()
4560 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt) { in AddObjCTopLevelResults()
4611 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtDirective()
4627 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt) { in AddObjCExpressionResults()
4692 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt) { in AddObjCStatementResults()
4739 ResultBuilder &Results, in AddObjCVisibilityResults()
4750 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtVisibility()
4762 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtStatement()
4775 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtExpression()
4825 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyFlags()
4949 ResultBuilder &Results, in AddObjCMethods()
5048 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyGetter()
5076 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySetter()
5093 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPassingType()
5150 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteObjCPassingType()
5253 ResultBuilder &Results) { in AddSuperSendCompletion()
5356 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMessageReceiver()
5360 ? &ResultBuilder::IsObjCMessageReceiverOrLambdaCapture in CodeCompleteObjCMessageReceiver()
5361 : &ResultBuilder::IsObjCMessageReceiver); in CodeCompleteObjCMessageReceiver()
5455 static QualType getPreferredArgumentTypeForMessageSend(ResultBuilder &Results, in getPreferredArgumentTypeForMessageSend()
5492 ResultBuilder &Results) { in AddClassMessageCompletions()
5572 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCClassMessage()
5644 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInstanceMessage()
5791 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSelector()
5839 ResultBuilder &Results) { in AddProtocolResults()
5853 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolReferences()
5881 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolDecl()
5905 ResultBuilder &Results) { in AddInterfaceResults()
5919 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceDecl()
5939 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSuperclass()
5964 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationDecl()
5987 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceCategory()
6031 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationCategory()
6060 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyDefinition()
6100 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySynthesizeIvar()
6319 ResultBuilder &Results) { in AddObjCKeyValueCompletions()
6989 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDecl()
7125 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDeclSelector()
7178 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorDirective()
7343 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorMacroName()
7371 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorExpression()
7415 ResultBuilder Builder(*this, Allocator, CCTUInfo, in GatherGlobalCodeCompletions()