Lines Matching refs:readDeclAs

144     T *readDeclAs() {  in readDeclAs()  function in clang::ASTDeclReader
145 return Record.readDeclAs<T>(); in readDeclAs()
612 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
614 HasStandaloneLexicalDC ? readDeclAs<DeclContext>() : nullptr; in VisitDecl()
742 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
832 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
936 FD->setInstantiatedFromDecl(readDeclAs<FunctionDecl>()); in VisitFunctionDecl()
939 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
945 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
953 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
974 auto *FD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
992 auto *CanonTemplate = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
1019 Candidates.addDecl(readDeclAs<NamedDecl>()); in VisitFunctionDecl()
1107 NamedDecl *ND = Record.readDeclAs<NamedDecl>(); in VisitFunctionDecl()
1150 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitFunctionDecl()
1161 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1162 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1175 readDeclAs<ObjCMethodDecl>()); in VisitObjCMethodDecl()
1188 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitObjCMethodDecl()
1223 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList()
1252 Protocols.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1265 Protocols.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1370 ProtoRefs.push_back(readDeclAs<ObjCProtocolDecl>()); in ReadObjCDefinitionData()
1440 CD->ClassInterface = readDeclAs<ObjCInterfaceDecl>(); in VisitObjCCategoryDecl()
1446 ProtoRefs.push_back(readDeclAs<ObjCProtocolDecl>()); in VisitObjCCategoryDecl()
1463 CAD->setClassInterface(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCCompatibleAliasDecl()
1484 D->setGetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyDecl()
1485 D->setSetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyDecl()
1486 D->setPropertyIvarDecl(readDeclAs<ObjCIvarDecl>()); in VisitObjCPropertyDecl()
1491 D->setClassInterface(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCImplDecl()
1501 D->setSuperClass(readDeclAs<ObjCInterfaceDecl>()); in VisitObjCImplementationDecl()
1515 D->setPropertyDecl(readDeclAs<ObjCPropertyDecl>()); in VisitObjCPropertyImplDecl()
1516 D->PropertyIvarDecl = readDeclAs<ObjCIvarDecl>(); in VisitObjCPropertyImplDecl()
1518 D->setGetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyImplDecl()
1519 D->setSetterMethodDecl(readDeclAs<ObjCMethodDecl>()); in VisitObjCPropertyImplDecl()
1537 if (auto *Tmpl = readDeclAs<FieldDecl>()) in VisitFieldDecl()
1592 FD->Chaining[I] = readDeclAs<NamedDecl>(); in VisitIndirectFieldDecl()
1672 VD->setDescribedVarTemplate(readDeclAs<VarTemplateDecl>()); in VisitVarDeclImpl()
1675 auto *Tmpl = readDeclAs<VarDecl>(); in VisitVarDeclImpl()
1742 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1771 Params.push_back(readDeclAs<ParmVarDecl>()); in VisitBlockDecl()
1785 auto *decl = readDeclAs<VarDecl>(); in VisitBlockDecl()
1803 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1805 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1871 D->Namespace = readDeclAs<NamedDecl>(); in VisitNamespaceAliasDecl()
1880 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1882 if (auto *Pattern = readDeclAs<NamedDecl>()) in VisitUsingDecl()
1892 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1893 if (auto *Pattern = readDeclAs<UsingEnumDecl>()) in VisitUsingEnumDecl()
1900 D->InstantiatedFrom = readDeclAs<NamedDecl>(); in VisitUsingPackDecl()
1903 Expansions[I] = readDeclAs<NamedDecl>(); in VisitUsingPackDecl()
1910 D->Underlying = readDeclAs<NamedDecl>(); in VisitUsingShadowDecl()
1912 D->UsingOrNextShadow = readDeclAs<NamedDecl>(); in VisitUsingShadowDecl()
1913 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
1922 D->NominatedBaseClassShadowDecl = readDeclAs<ConstructorUsingShadowDecl>(); in VisitConstructorUsingShadowDecl()
1923 D->ConstructedBaseClassShadowDecl = readDeclAs<ConstructorUsingShadowDecl>(); in VisitConstructorUsingShadowDecl()
1932 D->NominatedNamespace = readDeclAs<NamedDecl>(); in VisitUsingDirectiveDecl()
1933 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()
2043 auto *Var = readDeclAs<ValueDecl>(); in ReadCXXDefinitionData()
2217 auto *Template = readDeclAs<ClassTemplateDecl>(); in VisitCXXRecordDeclImpl()
2231 auto *RD = readDeclAs<CXXRecordDecl>(); in VisitCXXRecordDeclImpl()
2273 D->Ctor = readDeclAs<CXXConstructorDecl>(); in VisitCXXDeductionGuideDecl()
2287 if (auto *MD = readDeclAs<CXXMethodDecl>()) in VisitCXXMethodDecl()
2302 auto *Shadow = readDeclAs<ConstructorUsingShadowDecl>(); in VisitCXXConstructorDecl()
2303 auto *Ctor = readDeclAs<CXXConstructorDecl>(); in VisitCXXConstructorDecl()
2314 if (auto *OperatorDelete = readDeclAs<FunctionDecl>()) { in VisitCXXDestructorDecl()
2348 D->Friend = readDeclAs<NamedDecl>(); in VisitFriendDecl()
2367 D->Friend = readDeclAs<NamedDecl>(); in VisitFriendTemplateDecl()
2378 D->init(readDeclAs<NamedDecl>()); in VisitTemplateDecl()
2417 if (auto *RTD = readDeclAs<RedeclarableTemplateDecl>()) { in VisitRedeclarableTemplateDecl()
2505 auto *CanonPattern = readDeclAs<ClassTemplateDecl>(); in VisitClassTemplateSpecializationDeclImpl()
2559 readDeclAs<ClassTemplatePartialSpecializationDecl>()); in VisitClassTemplatePartialSpecializationDecl()
2624 auto *CanonPattern = readDeclAs<VarTemplateDecl>(); in VisitVarTemplateSpecializationDeclImpl()
2658 readDeclAs<VarTemplatePartialSpecializationDecl>()); in VisitVarTemplatePartialSpecializationDecl()
2748 D->ExtendingDecl = readDeclAs<ValueDecl>(); in VisitLifetimeExtendedTemporaryDecl()
3118 template <typename T> T *readDeclAs() { return Reader.readDeclAs<T>(); } in readDeclAs() function in __anon3c764c3a0511::AttrReader
4548 auto *Anon = readDeclAs<NamespaceDecl>(); in UpdateDecl()
4675 readDeclAs<ClassTemplatePartialSpecializationDecl>(); in UpdateDecl()
4708 auto *Del = readDeclAs<FunctionDecl>(); in UpdateDecl()