• Home
  • Raw
  • Download

Lines Matching refs:ReadDeclAs

101     T *ReadDeclAs(const RecordData &R, unsigned &I) {  in ReadDeclAs()  function in clang::ASTDeclReader
102 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
517 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
518 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
632 if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>(Record, Idx)) in VisitTypeAliasDecl()
712 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl()
788 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
792 FunctionDecl *InstFD = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitFunctionDecl()
801 FunctionTemplateDecl *Template = ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
845 = ReadDeclAs<FunctionTemplateDecl>(Record, Idx); in VisitFunctionDecl()
872 TemplDecls.addDecl(ReadDeclAs<NamedDecl>(Record, Idx)); in VisitFunctionDecl()
895 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitFunctionDecl()
906 MD->setSelfDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
907 MD->setCmdDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
920 ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCMethodDecl()
932 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitObjCMethodDecl()
967 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList()
1009 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCInterfaceDecl()
1022 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCInterfaceDecl()
1065 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCProtocolDecl()
1095 CD->ClassInterface = ReadDeclAs<ObjCInterfaceDecl>(Record, Idx); in VisitObjCCategoryDecl()
1101 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCCategoryDecl()
1112 CAD->setClassInterface(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCCompatibleAliasDecl()
1130 D->setGetterMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1131 D->setSetterMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1132 D->setPropertyIvarDecl(ReadDeclAs<ObjCIvarDecl>(Record, Idx)); in VisitObjCPropertyDecl()
1137 D->setClassInterface(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCImplDecl()
1148 D->setSuperClass(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCImplementationDecl()
1162 D->setPropertyDecl(ReadDeclAs<ObjCPropertyDecl>(Record, Idx)); in VisitObjCPropertyImplDecl()
1163 D->PropertyIvarDecl = ReadDeclAs<ObjCIvarDecl>(Record, Idx); in VisitObjCPropertyImplDecl()
1184 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) in VisitFieldDecl()
1204 FD->Chaining[I] = ReadDeclAs<NamedDecl>(Record, Idx); in VisitIndirectFieldDecl()
1257 VD->setDescribedVarTemplate(ReadDeclAs<VarTemplateDecl>(Record, Idx)); in VisitVarDeclImpl()
1260 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); in VisitVarDeclImpl()
1312 Params.push_back(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitBlockDecl()
1324 VarDecl *decl = ReadDeclAs<VarDecl>(Record, Idx); in VisitBlockDecl()
1342 CD->setParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1344 CD->setContextParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1398 D->Namespace = ReadDeclAs<NamedDecl>(Record, Idx); in VisitNamespaceAliasDecl()
1407 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl()
1409 if (NamedDecl *Pattern = ReadDeclAs<NamedDecl>(Record, Idx)) in VisitUsingDecl()
1417 D->setTargetDecl(ReadDeclAs<NamedDecl>(Record, Idx)); in VisitUsingShadowDecl()
1418 D->UsingOrNextShadow = ReadDeclAs<NamedDecl>(Record, Idx); in VisitUsingShadowDecl()
1419 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl()
1429 ReadDeclAs<ConstructorUsingShadowDecl>(Record, Idx); in VisitConstructorUsingShadowDecl()
1431 ReadDeclAs<ConstructorUsingShadowDecl>(Record, Idx); in VisitConstructorUsingShadowDecl()
1440 D->NominatedNamespace = ReadDeclAs<NamedDecl>(Record, Idx); in VisitUsingDirectiveDecl()
1441 D->CommonAncestor = ReadDeclAs<DeclContext>(Record, Idx); in VisitUsingDirectiveDecl()
1545 VarDecl *Var = ReadDeclAs<VarDecl>(Record, Idx); in ReadCXXDefinitionData()
1717 ClassTemplateDecl *Template = ReadDeclAs<ClassTemplateDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1731 CXXRecordDecl *RD = ReadDeclAs<CXXRecordDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1771 if (CXXMethodDecl *MD = ReadDeclAs<CXXMethodDecl>(Record, Idx)) in VisitCXXMethodDecl()
1785 auto *Shadow = ReadDeclAs<ConstructorUsingShadowDecl>(Record, Idx); in VisitCXXConstructorDecl()
1786 auto *Ctor = ReadDeclAs<CXXConstructorDecl>(Record, Idx); in VisitCXXConstructorDecl()
1799 if (auto *OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx)) { in VisitCXXDestructorDecl()
1830 D->Friend = ReadDeclAs<NamedDecl>(Record, Idx); in VisitFriendDecl()
1849 D->Friend = ReadDeclAs<NamedDecl>(Record, Idx); in VisitFriendTemplateDecl()
1884 = ReadDeclAs<RedeclarableTemplateDecl>(Record, Idx)) { in VisitRedeclarableTemplateDecl()
2003 ClassTemplateDecl *CanonPattern = ReadDeclAs<ClassTemplateDecl>(Record,Idx); in VisitClassTemplateSpecializationDeclImpl()
2055 ReadDeclAs<ClassTemplatePartialSpecializationDecl>(Record, Idx)); in VisitClassTemplatePartialSpecializationDecl()
2063 D->Specialization = ReadDeclAs<CXXMethodDecl>(Record, Idx); in VisitClassScopeFunctionSpecializationDecl()
2130 VarTemplateDecl *CanonPattern = ReadDeclAs<VarTemplateDecl>(Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
2161 ReadDeclAs<VarTemplatePartialSpecializationDecl>(Record, Idx)); in VisitVarTemplatePartialSpecializationDecl()
3738 = Reader.ReadDeclAs<NamespaceDecl>(ModuleFile, Record, Idx); in UpdateDecl()
3832 ReadDeclAs<ClassTemplatePartialSpecializationDecl>(Record, Idx); in UpdateDecl()
3862 auto *Del = Reader.ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in UpdateDecl()