Lines Matching refs:ReadDeclAs

81     T *ReadDeclAs(const RecordData &R, unsigned &I) {  in ReadDeclAs()  function in clang::ASTDeclReader
82 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
486 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
487 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
577 if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>(Record, Idx)) in VisitTypeAliasDecl()
657 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl()
733 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
737 FunctionDecl *InstFD = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitFunctionDecl()
746 FunctionTemplateDecl *Template = ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
790 = ReadDeclAs<FunctionTemplateDecl>(Record, Idx); in VisitFunctionDecl()
817 TemplDecls.addDecl(ReadDeclAs<NamedDecl>(Record, Idx)); in VisitFunctionDecl()
840 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitFunctionDecl()
851 MD->setSelfDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
852 MD->setCmdDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
865 ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCMethodDecl()
877 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitObjCMethodDecl()
912 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList()
954 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCInterfaceDecl()
967 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCInterfaceDecl()
1010 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCProtocolDecl()
1040 CD->ClassInterface = ReadDeclAs<ObjCInterfaceDecl>(Record, Idx); in VisitObjCCategoryDecl()
1046 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCCategoryDecl()
1057 CAD->setClassInterface(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCCompatibleAliasDecl()
1075 D->setGetterMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1076 D->setSetterMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1077 D->setPropertyIvarDecl(ReadDeclAs<ObjCIvarDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1082 D->setClassInterface(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCImplDecl()
1093 D->setSuperClass(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCImplementationDecl()
1107 D->setPropertyDecl(ReadDeclAs<ObjCPropertyDecl>(Record, Idx)); in VisitObjCPropertyImplDecl()
1108 D->PropertyIvarDecl = ReadDeclAs<ObjCIvarDecl>(Record, Idx); in VisitObjCPropertyImplDecl()
1129 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) in VisitFieldDecl()
1149 FD->Chaining[I] = ReadDeclAs<NamedDecl>(Record, Idx); in VisitIndirectFieldDecl()
1200 VD->setDescribedVarTemplate(ReadDeclAs<VarTemplateDecl>(Record, Idx)); in VisitVarDeclImpl()
1203 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); in VisitVarDeclImpl()
1255 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitBlockDecl()
1267 VarDecl *decl = ReadDeclAs<VarDecl>(Record, Idx); in VisitBlockDecl()
1285 CD->setParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1287 CD->setContextParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1341 D->Namespace = ReadDeclAs<NamedDecl>(Record, Idx); in VisitNamespaceAliasDecl()
1350 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl()
1352 if (NamedDecl *Pattern = ReadDeclAs<NamedDecl>(Record, Idx)) in VisitUsingDecl()
1360 D->setTargetDecl(ReadDeclAs<NamedDecl>(Record, Idx)); in VisitUsingShadowDecl()
1361 D->UsingOrNextShadow = ReadDeclAs<NamedDecl>(Record, Idx); in VisitUsingShadowDecl()
1362 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl()
1373 D->NominatedNamespace = ReadDeclAs<NamedDecl>(Record, Idx); in VisitUsingDirectiveDecl()
1374 D->CommonAncestor = ReadDeclAs<DeclContext>(Record, Idx); in VisitUsingDirectiveDecl()
1473 VarDecl *Var = ReadDeclAs<VarDecl>(Record, Idx); in ReadCXXDefinitionData()
1641 ClassTemplateDecl *Template = ReadDeclAs<ClassTemplateDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1655 CXXRecordDecl *RD = ReadDeclAs<CXXRecordDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1695 if (CXXMethodDecl *MD = ReadDeclAs<CXXMethodDecl>(Record, Idx)) in VisitCXXMethodDecl()
1708 if (auto *CD = ReadDeclAs<CXXConstructorDecl>(Record, Idx)) in VisitCXXConstructorDecl()
1717 if (auto *OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx)) { in VisitCXXDestructorDecl()
1748 D->Friend = ReadDeclAs<NamedDecl>(Record, Idx); in VisitFriendDecl()
1766 D->Friend = ReadDeclAs<NamedDecl>(Record, Idx); in VisitFriendTemplateDecl()
1801 = ReadDeclAs<RedeclarableTemplateDecl>(Record, Idx)) { in VisitRedeclarableTemplateDecl()
1922 ClassTemplateDecl *CanonPattern = ReadDeclAs<ClassTemplateDecl>(Record,Idx); in VisitClassTemplateSpecializationDeclImpl()
1974 ReadDeclAs<ClassTemplatePartialSpecializationDecl>(Record, Idx)); in VisitClassTemplatePartialSpecializationDecl()
1982 D->Specialization = ReadDeclAs<CXXMethodDecl>(Record, Idx); in VisitClassScopeFunctionSpecializationDecl()
2050 VarTemplateDecl *CanonPattern = ReadDeclAs<VarTemplateDecl>(Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
2081 ReadDeclAs<VarTemplatePartialSpecializationDecl>(Record, Idx)); in VisitVarTemplatePartialSpecializationDecl()
3606 = Reader.ReadDeclAs<NamespaceDecl>(ModuleFile, Record, Idx); in UpdateDecl()
3686 ReadDeclAs<ClassTemplatePartialSpecializationDecl>(Record, Idx); in UpdateDecl()
3716 auto *Del = Reader.ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in UpdateDecl()