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()
164 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt()
187 ReadDeclAs<VarDecl>(Record, Idx)); in VisitIfStmt()
198 ReadDeclAs<VarDecl>(Record, Idx)); in VisitSwitchStmt()
220 ReadDeclAs<VarDecl>(Record, Idx)); in VisitWhileStmt()
241 ReadDeclAs<VarDecl>(Record, Idx)); in VisitForStmt()
251 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt()
277 S->setNRVOCandidate(ReadDeclAs<VarDecl>(Record, Idx)); in VisitReturnStmt()
387 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()
389 S->setCapturedRecordDecl(ReadDeclAs<RecordDecl>(Record, Idx)); in VisitCapturedStmt()
403 I.VarAndKind.setPointer(ReadDeclAs<VarDecl>(Record, Idx)); in VisitCapturedStmt()
446 E->getInternalFoundDecl() = ReadDeclAs<NamedDecl>(Record, Idx); in VisitDeclRefExpr()
452 E->setDecl(ReadDeclAs<ValueDecl>(Record, Idx)); in VisitDeclRefExpr()
549 E->setComponent(I, Node(Start, ReadDeclAs<FieldDecl>(Record, Idx), End)); in VisitOffsetOfExpr()
725 E->ArrayFillerOrUnionFieldInit = ReadDeclAs<FieldDecl>(Record, Idx); in VisitInitListExpr()
755 FieldDecl *Field = ReadDeclAs<FieldDecl>(Record, Idx); in VisitDesignatedInitExpr()
820 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
866 E->setBlockDecl(ReadDeclAs<BlockDecl>(Record, Idx)); in VisitBlockExpr()
927 E->BoxingMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCBoxedExpr()
938 E->ArrayWithObjectsMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCArrayLiteral()
958 E->DictWithObjectsMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCDictionaryLiteral()
978 E->setProtocol(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); in VisitObjCProtocolExpr()
986 E->setDecl(ReadDeclAs<ObjCIvarDecl>(Record, Idx)); in VisitObjCIvarRefExpr()
999 ObjCMethodDecl *Getter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr()
1000 ObjCMethodDecl *Setter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr()
1003 E->setExplicitProperty(ReadDeclAs<ObjCPropertyDecl>(Record, Idx), in VisitObjCPropertyRefExpr()
1016 E->setClassReceiver(ReadDeclAs<ObjCInterfaceDecl>(Record, Idx)); in VisitObjCPropertyRefExpr()
1026 E->GetAtIndexMethodDecl = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCSubscriptRefExpr()
1027 E->SetAtIndexMethodDecl = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCSubscriptRefExpr()
1061 E->setMethodDecl(ReadDeclAs<ObjCMethodDecl>(Record, Idx)); in VisitObjCMessageExpr()
1088 S->setCatchParamDecl(ReadDeclAs<VarDecl>(Record, Idx)); in VisitObjCAtCatchStmt()
1145 S->ExceptionDecl = ReadDeclAs<VarDecl>(Record, Idx); in VisitCXXCatchStmt()
1195 E->setConstructor(ReadDeclAs<CXXConstructorDecl>(Record, Idx)); in VisitCXXConstructExpr()
1237 ArrayIndexVars[I] = ReadDeclAs<VarDecl>(Record, Idx); in VisitLambdaExpr()
1325 E->Param.setPointer(ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitCXXDefaultArgExpr()
1331 E->Field = ReadDeclAs<FieldDecl>(Record, Idx); in VisitCXXDefaultInitExpr()
1354 E->setOperatorNew(ReadDeclAs<FunctionDecl>(Record, Idx)); in VisitCXXNewExpr()
1355 E->setOperatorDelete(ReadDeclAs<FunctionDecl>(Record, Idx)); in VisitCXXNewExpr()
1376 E->OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitCXXDeleteExpr()
1405 E->getObjectsBuffer()[i] = ReadDeclAs<BlockDecl>(Record, Idx); in VisitExprWithCleanups()
1423 E->FirstQualifierFoundInScope = ReadDeclAs<NamedDecl>(Record, Idx); in VisitCXXDependentScopeMemberExpr()
1461 NamedDecl *D = ReadDeclAs<NamedDecl>(Record, Idx); in VisitOverloadExpr()
1484 E->NamingClass = ReadDeclAs<CXXRecordDecl>(Record, Idx); in VisitUnresolvedLookupExpr()
1541 E->Pack = ReadDeclAs<NamedDecl>(Record, Idx); in VisitSizeOfPackExpr()
1547 E->Param = ReadDeclAs<NonTypeTemplateParmDecl>(Record, Idx); in VisitSubstNonTypeTemplateParmExpr()
1555 E->Param = ReadDeclAs<NonTypeTemplateParmDecl>(Record, Idx); in VisitSubstNonTypeTemplateParmPackExpr()
1568 E->ParamPack = ReadDeclAs<ParmVarDecl>(Record, Idx); in VisitFunctionParmPackExpr()
1572 Parms[i] = ReadDeclAs<ParmVarDecl>(Record, Idx); in VisitFunctionParmPackExpr()
1578 auto VD = ReadDeclAs<ValueDecl>(Record, Idx); in VisitMaterializeTemporaryExpr()
1612 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()
2482 NamedDecl *FoundD = ReadDeclAs<NamedDecl>(F, Record, Idx); in ReadStmtFromStream()
2490 ValueDecl *MemberD = ReadDeclAs<ValueDecl>(F, Record, Idx); in ReadStmtFromStream()