Lines Matching refs:ReadDeclAs
66 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTStmtReader
67 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
165 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt()
190 ReadDeclAs<VarDecl>(Record, Idx)); in VisitIfStmt()
202 ReadDeclAs<VarDecl>(Record, Idx)); in VisitSwitchStmt()
224 ReadDeclAs<VarDecl>(Record, Idx)); in VisitWhileStmt()
245 ReadDeclAs<VarDecl>(Record, Idx)); in VisitForStmt()
255 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt()
281 S->setNRVOCandidate(ReadDeclAs<VarDecl>(Record, Idx)); in VisitReturnStmt()
411 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()
413 S->setCapturedRecordDecl(ReadDeclAs<RecordDecl>(Record, Idx)); in VisitCapturedStmt()
427 I.VarAndKind.setPointer(ReadDeclAs<VarDecl>(Record, Idx)); in VisitCapturedStmt()
471 *E->getTrailingObjects<NamedDecl *>() = ReadDeclAs<NamedDecl>(Record, Idx); in VisitDeclRefExpr()
478 E->setDecl(ReadDeclAs<ValueDecl>(Record, Idx)); in VisitDeclRefExpr()
575 I, OffsetOfNode(Start, ReadDeclAs<FieldDecl>(Record, Idx), End)); in VisitOffsetOfExpr()
759 E->ArrayFillerOrUnionFieldInit = ReadDeclAs<FieldDecl>(Record, Idx); in VisitInitListExpr()
789 FieldDecl *Field = ReadDeclAs<FieldDecl>(Record, Idx); in VisitDesignatedInitExpr()
865 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
911 E->setBlockDecl(ReadDeclAs<BlockDecl>(Record, Idx)); in VisitBlockExpr()
972 E->BoxingMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCBoxedExpr()
983 E->ArrayWithObjectsMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCArrayLiteral()
1005 E->DictWithObjectsMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCDictionaryLiteral()
1025 E->setProtocol(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCProtocolExpr()
1033 E->setDecl(ReadDeclAs<ObjCIvarDecl>(Record, Idx)); in VisitObjCIvarRefExpr()
1046 ObjCMethodDecl *Getter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr()
1047 ObjCMethodDecl *Setter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr()
1050 E->setExplicitProperty(ReadDeclAs<ObjCPropertyDecl>(Record, Idx), in VisitObjCPropertyRefExpr()
1063 E->setClassReceiver(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCPropertyRefExpr()
1073 E->GetAtIndexMethodDecl = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCSubscriptRefExpr()
1074 E->SetAtIndexMethodDecl = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCSubscriptRefExpr()
1108 E->setMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCMessageExpr()
1135 S->setCatchParamDecl(ReadDeclAs<VarDecl>(Record, Idx)); in VisitObjCAtCatchStmt()
1192 S->ExceptionDecl = ReadDeclAs<VarDecl>(Record, Idx); in VisitCXXCatchStmt()
1244 E->setConstructor(ReadDeclAs<CXXConstructorDecl>(Record, Idx)); in VisitCXXConstructExpr()
1257 E->Constructor = ReadDeclAs<CXXConstructorDecl>(Record, Idx); in VisitCXXInheritedCtorInitExpr()
1294 ArrayIndexVars[I] = ReadDeclAs<VarDecl>(Record, Idx); in VisitLambdaExpr()
1379 E->Param = ReadDeclAs<ParmVarDecl>(Record, Idx); in VisitCXXDefaultArgExpr()
1385 E->Field = ReadDeclAs<FieldDecl>(Record, Idx); in VisitCXXDefaultInitExpr()
1408 E->setOperatorNew(ReadDeclAs<FunctionDecl>(Record, Idx)); in VisitCXXNewExpr()
1409 E->setOperatorDelete(ReadDeclAs<FunctionDecl>(Record, Idx)); in VisitCXXNewExpr()
1430 E->OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitCXXDeleteExpr()
1460 ReadDeclAs<BlockDecl>(Record, Idx); in VisitExprWithCleanups()
1481 E->FirstQualifierFoundInScope = ReadDeclAs<NamedDecl>(Record, Idx); in VisitCXXDependentScopeMemberExpr()
1522 NamedDecl *D = ReadDeclAs<NamedDecl>(Record, Idx); in VisitOverloadExpr()
1545 E->NamingClass = ReadDeclAs<CXXRecordDecl>(Record, Idx); in VisitUnresolvedLookupExpr()
1602 E->Pack = Reader.ReadDeclAs<NamedDecl>(F, Record, Idx); in VisitSizeOfPackExpr()
1617 E->Param = ReadDeclAs<NonTypeTemplateParmDecl>(Record, Idx); in VisitSubstNonTypeTemplateParmExpr()
1625 E->Param = ReadDeclAs<NonTypeTemplateParmDecl>(Record, Idx); in VisitSubstNonTypeTemplateParmPackExpr()
1638 E->ParamPack = ReadDeclAs<ParmVarDecl>(Record, Idx); in VisitFunctionParmPackExpr()
1642 Parms[i] = ReadDeclAs<ParmVarDecl>(Record, Idx); in VisitFunctionParmPackExpr()
1648 auto VD = ReadDeclAs<ValueDecl>(Record, Idx); in VisitMaterializeTemporaryExpr()
1682 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()
2285 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx)); in VisitOMPMapClause()
2305 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx); in VisitOMPMapClause()
2379 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx)); in VisitOMPToClause()
2399 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx); in VisitOMPToClause()
2423 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx)); in VisitOMPFromClause()
2443 Reader->Reader.ReadDeclAs<ValueDecl>(Reader->F, Record, Idx); in VisitOMPFromClause()
3032 NamedDecl *FoundD = ReadDeclAs<NamedDecl>(F, Record, Idx); in ReadStmtFromStream()
3040 ValueDecl *MemberD = ReadDeclAs<ValueDecl>(F, Record, Idx); in ReadStmtFromStream()