• Home
  • Raw
  • Download

Lines Matching refs:ResultBuilder

42   class ResultBuilder {  class
48 typedef bool (ResultBuilder::*LookupFilter)(const NamedDecl *) const;
171 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, in ResultBuilder() function in __anon28dbc1b40111::ResultBuilder
346 class ResultBuilder::ShadowMapEntry::iterator {
416 ResultBuilder::ShadowMapEntry::iterator
417 ResultBuilder::ShadowMapEntry::begin() const { in begin()
427 ResultBuilder::ShadowMapEntry::iterator
428 ResultBuilder::ShadowMapEntry::end() const { in end()
517 bool ResultBuilder::isInterestingDecl(const NamedDecl *ND, in isInterestingDecl()
545 if (Filter == &ResultBuilder::IsNestedNameSpecifier || in isInterestingDecl()
547 Filter != &ResultBuilder::IsNamespace && in isInterestingDecl()
548 Filter != &ResultBuilder::IsNamespaceOrAlias && in isInterestingDecl()
557 (Filter != &ResultBuilder::IsMember || in isInterestingDecl()
570 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext, in CheckHiddenResult()
726 unsigned ResultBuilder::getBasePriority(const NamedDecl *ND) { in getBasePriority()
765 void ResultBuilder::AdjustResultPriorityForDecl(Result &R) { in AdjustResultPriorityForDecl()
791 void ResultBuilder::MaybeAddConstructorResults(Result R) { in MaybeAddConstructorResults()
829 void ResultBuilder::MaybeAddResult(Result R, DeclContext *CurContext) { in MaybeAddResult()
947 void ResultBuilder::AddResult(Result R, DeclContext *CurContext, in AddResult()
985 else if (Filter == &ResultBuilder::IsMember && !R.Qualifier && InBaseClass && in AddResult()
1031 void ResultBuilder::AddResult(Result R) { in AddResult()
1038 void ResultBuilder::EnterNewScope() { ShadowMaps.emplace_back(); } in EnterNewScope()
1041 void ResultBuilder::ExitScope() { in ExitScope()
1053 bool ResultBuilder::IsOrdinaryName(const NamedDecl *ND) const { in IsOrdinaryName()
1071 bool ResultBuilder::IsOrdinaryNonTypeName(const NamedDecl *ND) const { in IsOrdinaryNonTypeName()
1087 bool ResultBuilder::IsIntegralConstantValue(const NamedDecl *ND) const { in IsIntegralConstantValue()
1100 bool ResultBuilder::IsOrdinaryNonValueName(const NamedDecl *ND) const { in IsOrdinaryNonValueName()
1114 bool ResultBuilder::IsNestedNameSpecifier(const NamedDecl *ND) const { in IsNestedNameSpecifier()
1123 bool ResultBuilder::IsEnum(const NamedDecl *ND) const { in IsEnum()
1128 bool ResultBuilder::IsClassOrStruct(const NamedDecl *ND) const { in IsClassOrStruct()
1143 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion()
1155 bool ResultBuilder::IsNamespace(const NamedDecl *ND) const { in IsNamespace()
1161 bool ResultBuilder::IsNamespaceOrAlias(const NamedDecl *ND) const { in IsNamespaceOrAlias()
1166 bool ResultBuilder::IsType(const NamedDecl *ND) const { in IsType()
1174 bool ResultBuilder::IsMember(const NamedDecl *ND) const { in IsMember()
1213 bool ResultBuilder::IsObjCMessageReceiver(const NamedDecl *ND) const { in IsObjCMessageReceiver()
1222 bool ResultBuilder::IsObjCMessageReceiverOrLambdaCapture(const NamedDecl *ND) const { in IsObjCMessageReceiverOrLambdaCapture()
1233 bool ResultBuilder::IsObjCCollection(const NamedDecl *ND) const { in IsObjCCollection()
1248 bool ResultBuilder::IsImpossibleToSatisfy(const NamedDecl *ND) const { in IsImpossibleToSatisfy()
1254 bool ResultBuilder::IsObjCIvar(const NamedDecl *ND) const { in IsObjCIvar()
1262 ResultBuilder &Results;
1266 CodeCompletionDeclConsumer(ResultBuilder &Results, DeclContext *CurContext) in CodeCompletionDeclConsumer()
1275 ResultBuilder::Result Result(ND, Results.getBasePriority(ND), nullptr, in FoundDecl()
1284 ResultBuilder &Results) { in AddTypeSpecifierResults()
1366 ResultBuilder &Results) { in AddStorageSpecifiers()
1377 ResultBuilder &Results) { in AddFunctionSpecifiers()
1411 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt);
1412 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt);
1414 ResultBuilder &Results,
1417 ResultBuilder &Results,
1420 ResultBuilder &Results,
1422 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt);
1424 static void AddTypedefResult(ResultBuilder &Results) { in AddTypedefResult()
1514 static void addThisCompletion(Sema &S, ResultBuilder &Results) { in addThisCompletion()
1534 ResultBuilder &Results) { in AddOrdinaryNameResults()
3101 static void AddMacroResults(Preprocessor &PP, ResultBuilder &Results, in AddMacroResults()
3129 ResultBuilder &Results) { in AddPrettyFunctionResults()
3215 ResultBuilder &Results) { in MaybeAddOverrideCalls()
3282 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteModuleImport()
3333 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOrdinaryName()
3351 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteOrdinaryName()
3360 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteOrdinaryName()
3362 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteOrdinaryName()
3422 ResultBuilder &Results);
3428 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteDeclSpec()
3449 Results.setFilter(&ResultBuilder::IsImpossibleToSatisfy); in CodeCompleteDeclSpec()
3501 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteExpression()
3505 Results.setFilter(&ResultBuilder::IsObjCCollection); in CodeCompleteExpression()
3507 Results.setFilter(&ResultBuilder::IsIntegralConstantValue); in CodeCompleteExpression()
3509 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteExpression()
3511 Results.setFilter(&ResultBuilder::IsOrdinaryNonTypeName); in CodeCompleteExpression()
3582 ResultBuilder &Results) { in AddObjCProperties()
3689 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteMemberReferenceExpr()
3692 &ResultBuilder::IsMember); in CodeCompleteMemberReferenceExpr()
3752 Results.setFilter(&ResultBuilder::IsObjCIvar); in CodeCompleteMemberReferenceExpr()
3772 ResultBuilder::LookupFilter Filter = nullptr; in CodeCompleteTag()
3777 Filter = &ResultBuilder::IsEnum; in CodeCompleteTag()
3782 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
3789 Filter = &ResultBuilder::IsClassOrStruct; in CodeCompleteTag()
3797 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTag()
3808 Results.setFilter(&ResultBuilder::IsNestedNameSpecifier); in CodeCompleteTag()
3817 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteTypeQualifiers()
3910 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteCase()
4179 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteAfterIf()
4182 Results.setFilter(&ResultBuilder::IsOrdinaryName); in CodeCompleteAfterIf()
4259 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteQualifiedId()
4291 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsing()
4294 &ResultBuilder::IsNestedNameSpecifier); in CodeCompleteUsing()
4319 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteUsingDirective()
4322 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteUsingDirective()
4344 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceDecl()
4349 &ResultBuilder::IsNamespace); in CodeCompleteNamespaceDecl()
4386 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteNamespaceAliasDecl()
4389 &ResultBuilder::IsNamespaceOrAlias); in CodeCompleteNamespaceAliasDecl()
4403 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteOperatorName()
4406 &ResultBuilder::IsType); in CodeCompleteOperatorName()
4442 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteConstructorInitializer()
4556 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteLambdaIntroducer()
4603 ResultBuilder &Results, in AddObjCImplementationResults()
4627 ResultBuilder &Results, in AddObjCInterfaceResults()
4646 static void AddObjCTopLevelResults(ResultBuilder &Results, bool NeedAt) { in AddObjCTopLevelResults()
4697 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtDirective()
4713 static void AddObjCExpressionResults(ResultBuilder &Results, bool NeedAt) { in AddObjCExpressionResults()
4778 static void AddObjCStatementResults(ResultBuilder &Results, bool NeedAt) { in AddObjCStatementResults()
4825 ResultBuilder &Results, in AddObjCVisibilityResults()
4836 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtVisibility()
4848 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtStatement()
4861 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCAtExpression()
4911 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyFlags()
5041 ResultBuilder &Results, in AddObjCMethods()
5140 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyGetter()
5168 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySetter()
5185 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPassingType()
5247 Results.setFilter(&ResultBuilder::IsOrdinaryNonValueName); in CodeCompleteObjCPassingType()
5350 ResultBuilder &Results) { in AddSuperSendCompletion()
5454 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMessageReceiver()
5458 ? &ResultBuilder::IsObjCMessageReceiverOrLambdaCapture in CodeCompleteObjCMessageReceiver()
5459 : &ResultBuilder::IsObjCMessageReceiver); in CodeCompleteObjCMessageReceiver()
5553 static QualType getPreferredArgumentTypeForMessageSend(ResultBuilder &Results, in getPreferredArgumentTypeForMessageSend()
5590 ResultBuilder &Results) { in AddClassMessageCompletions()
5670 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCClassMessage()
5742 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInstanceMessage()
5889 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSelector()
5937 ResultBuilder &Results) { in AddProtocolResults()
5951 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolReferences()
5979 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCProtocolDecl()
6003 ResultBuilder &Results) { in AddInterfaceResults()
6017 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceDecl()
6037 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCSuperclass()
6062 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationDecl()
6085 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCInterfaceCategory()
6129 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCImplementationCategory()
6159 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertyDefinition()
6200 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCPropertySynthesizeIvar()
6419 ResultBuilder &Results) { in AddObjCKeyValueCompletions()
7089 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDecl()
7236 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompleteObjCMethodDeclSelector()
7289 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorDirective()
7454 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorMacroName()
7482 ResultBuilder Results(*this, CodeCompleter->getAllocator(), in CodeCompletePreprocessorExpression()
7526 ResultBuilder Builder(*this, Allocator, CCTUInfo, in GatherGlobalCodeCompletions()