Searched refs:getAsSingle (Results 1 – 14 of 14) sorted by relevance
426 return Found.getAsSingle<NamespaceDecl>(); in isNonTypeNestedNameSpecifier()599 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()606 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()672 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()807 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()813 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
42 ClassTemplateDecl *CoroTraits = Result.getAsSingle<ClassTemplateDecl>(); in lookupPromiseType()78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
343 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
2917 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer()7595 ClassTemplateDecl *Template = Result.getAsSingle<ClassTemplateDecl>(); in LookupStdInitializerList()7746 NamespaceDecl *NS = R.getAsSingle<NamespaceDecl>(); in ActOnUsingDirective()8412 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()8423 if (IsInstantiation && R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()8432 if (R.getAsSingle<NamespaceDecl>()) { in BuildUsingDeclaration()8440 if (auto *ED = R.getAsSingle<EnumConstantDecl>()) { in BuildUsingDeclaration()8592 if (R.getAsSingle<TypeDecl>()) { in CheckUsingDeclQualifier()8610 } else if (R.getAsSingle<VarDecl>()) { in CheckUsingDeclQualifier()8623 } else if (R.getAsSingle<EnumConstantDecl>()) { in CheckUsingDeclQualifier()[all …]
377 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName()2954 if (R.getAsSingle<VarTemplateDecl>() && in BuildTemplateIdExpr()2958 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr()3004 if (ClassTemplateDecl *Temp = R.getAsSingle<ClassTemplateDecl>()) { in BuildQualifiedTemplateIdExpr()3161 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument()7817 VarDecl *Prev = Previous.getAsSingle<VarDecl>(); in ActOnExplicitInstantiation()7818 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation()
203 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName()225 if (ClassTemplateDecl *Template = Found.getAsSingle<ClassTemplateDecl>()) { in getDestructorName()476 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()481 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()601 MSVCGuidDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXUuidof()
1046 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
556 if (const TagDecl *TD = R.getAsSingle<TagDecl>()) { in isTagName()716 if (TagDecl *Tag = R.getAsSingle<TagDecl>()) { in isTagTypeWithMissingTag()903 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) { in ClassifyName()1058 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName()1758 if (const TagDecl *TD = Result.getAsSingle<TagDecl>()) in LookupPredefedObjCSuperType()1985 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl()13394 PrevDecl = Previous.getAsSingle<NamedDecl>(); in HandleField()
2267 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) { in ActOnIdExpression()2332 assert(R.getAsSingle<VarTemplateDecl>() && in ActOnIdExpression()2373 if (const TypeDecl *TD = R.getAsSingle<TypeDecl>()) { in BuildQualifiedDeclarationNameExpr()2805 if (!NeedsADL && R.isSingleResult() && !R.getAsSingle<FunctionTemplateDecl>()) in BuildDeclarationNameExpr()11808 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf()11811 if ((IndirectMemberDecl = R.getAsSingle<IndirectFieldDecl>())) in BuildBuiltinOffsetOf()
2784 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
1097 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
1178 if (!(VD = Lookup.getAsSingle<VarDecl>())) { in ActOnOpenMPIdExpression()11517 NamedDecl *ND = Lookup.getAsSingle<NamedDecl>(); in ActOnOpenMPDeclareTargetName()
988 Tag = Result.getAsSingle<TagDecl>(); in RebuildDependentNameType()9726 NamedDecl *D = R.getAsSingle<NamedDecl>(); in TransformUnresolvedLookupExpr()
491 DeclClass *getAsSingle() const { in getAsSingle() function