Lines Matching refs:readDeclAs
144 T *readDeclAs() { in readDeclAs() function in clang::ASTDeclReader
145 return Record.readDeclAs<T>(); in readDeclAs()
580 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
581 auto *LexicalDC = readDeclAs<DeclContext>(); in VisitDecl()
700 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
785 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
901 NamedDecl *ND = Record.readDeclAs<NamedDecl>(); in VisitFunctionDecl()
916 FD->setDescribedFunctionTemplate(readDeclAs<FunctionTemplateDecl>()); in VisitFunctionDecl()
919 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
928 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
960 auto *FD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
978 auto *CanonTemplate = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
1005 TemplDecls.addDecl(readDeclAs<NamedDecl>()); in VisitFunctionDecl()
1032 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitFunctionDecl()
1044 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1045 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1058 readDeclAs<ObjCMethodDecl>()); in VisitObjCMethodDecl()
1070 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitObjCMethodDecl()
1105 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList()
1132 Protocols.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1145 Protocols.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1207 ProtoRefs.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1265 CD->ClassInterface = readDeclAs<ObjCInterfaceDecl>(); in VisitObjCCategoryDecl()
1271 ProtoRefs.push_back(readDeclAs<ObjCProtocolDecl>()); in VisitObjCCategoryDecl()
1288 CAD->setClassInterface(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCCompatibleAliasDecl()
1309 D->setGetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyDecl()
1310 D->setSetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyDecl()
1311 D->setPropertyIvarDecl(readDeclAs<ObjCIvarDecl>()); in VisitObjCPropertyDecl()
1316 D->setClassInterface(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCImplDecl()
1326 D->setSuperClass(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCImplementationDecl()
1340 D->setPropertyDecl(readDeclAs<ObjCPropertyDecl>()); in VisitObjCPropertyImplDecl()
1341 D->PropertyIvarDecl = readDeclAs<ObjCIvarDecl>(); in VisitObjCPropertyImplDecl()
1343 D->setGetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyImplDecl()
1344 D->setSetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyImplDecl()
1364 if (auto *Tmpl = readDeclAs<FieldDecl>()) in VisitFieldDecl()
1408 FD->Chaining[I] = readDeclAs<NamedDecl>(); in VisitIndirectFieldDecl()
1478 VD->setDescribedVarTemplate(readDeclAs<VarTemplateDecl>()); in VisitVarDeclImpl()
1481 auto *Tmpl = readDeclAs<VarDecl>(); in VisitVarDeclImpl()
1523 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1547 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitBlockDecl()
1561 auto *decl = readDeclAs<VarDecl>(); in VisitBlockDecl()
1579 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1581 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1640 D->Namespace = readDeclAs<NamedDecl>(); in VisitNamespaceAliasDecl()
1649 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1651 if (auto *Pattern = readDeclAs<NamedDecl>()) in VisitUsingDecl()
1660 D->Enum = readDeclAs<EnumDecl>(); in VisitUsingEnumDecl()
1661 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1662 if (auto *Pattern = readDeclAs<UsingEnumDecl>()) in VisitUsingEnumDecl()
1669 D->InstantiatedFrom = readDeclAs<NamedDecl>(); in VisitUsingPackDecl()
1672 Expansions[I] = readDeclAs<NamedDecl>(); in VisitUsingPackDecl()
1679 D->Underlying = readDeclAs<NamedDecl>(); in VisitUsingShadowDecl()
1681 D->UsingOrNextShadow = readDeclAs<NamedDecl>(); in VisitUsingShadowDecl()
1682 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
1691 D->NominatedBaseClassShadowDecl = readDeclAs<ConstructorUsingShadowDecl>(); in VisitConstructorUsingShadowDecl()
1692 D->ConstructedBaseClassShadowDecl = readDeclAs<ConstructorUsingShadowDecl>(); in VisitConstructorUsingShadowDecl()
1701 D->NominatedNamespace = readDeclAs<NamedDecl>(); in VisitUsingDirectiveDecl()
1702 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()
1787 auto *Var = readDeclAs<VarDecl>(); in ReadCXXDefinitionData()
1927 auto *Template = readDeclAs<ClassTemplateDecl>(); in VisitCXXRecordDeclImpl()
1941 auto *RD = readDeclAs<CXXRecordDecl>(); in VisitCXXRecordDeclImpl()
1975 D->Ctor = readDeclAs<CXXConstructorDecl>(); in VisitCXXDeductionGuideDecl()
1988 if (auto *MD = readDeclAs<CXXMethodDecl>()) in VisitCXXMethodDecl()
2003 auto *Shadow = readDeclAs<ConstructorUsingShadowDecl>(); in VisitCXXConstructorDecl()
2004 auto *Ctor = readDeclAs<CXXConstructorDecl>(); in VisitCXXConstructorDecl()
2015 if (auto *OperatorDelete = readDeclAs<FunctionDecl>()) { in VisitCXXDestructorDecl()
2049 D->Friend = readDeclAs<NamedDecl>(); in VisitFriendDecl()
2068 D->Friend = readDeclAs<NamedDecl>(); in VisitFriendTemplateDecl()
2110 if (auto *RTD = readDeclAs<RedeclarableTemplateDecl>()) { in VisitRedeclarableTemplateDecl()
2203 auto *CanonPattern = readDeclAs<ClassTemplateDecl>(); in VisitClassTemplateSpecializationDeclImpl()
2257 readDeclAs<ClassTemplatePartialSpecializationDecl>()); in VisitClassTemplatePartialSpecializationDecl()
2265 D->Specialization = readDeclAs<CXXMethodDecl>(); in VisitClassScopeFunctionSpecializationDecl()
2329 auto *CanonPattern = readDeclAs<VarTemplateDecl>(); in VisitVarTemplateSpecializationDeclImpl()
2360 readDeclAs<VarTemplatePartialSpecializationDecl>()); in VisitVarTemplatePartialSpecializationDecl()
2373 ConceptDecl *NamedConcept = Record.readDeclAs<ConceptDecl>(); in VisitTemplateTypeParmDecl()
2448 D->ExtendingDecl = readDeclAs<ValueDecl>(); in VisitLifetimeExtendedTemporaryDecl()
4477 auto *Anon = readDeclAs<NamespaceDecl>(); in UpdateDecl()
4610 readDeclAs<ClassTemplatePartialSpecializationDecl>(); in UpdateDecl()
4643 auto *Del = readDeclAs<FunctionDecl>(); in UpdateDecl()