Lines Matching refs:ASTCtx
123 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue()
156 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout(FD->getParent()); in toAPValue()
158 return ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)); in toAPValue()
179 Offset += (Index * ASTCtx.getTypeSizeInChars(Ptr.getType())); in toAPValue()
196 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout( in toAPValue()
386 const ASTContext &ASTCtx = Ctx.getASTContext(); in toRValue() local
390 Composite = [&Composite, &Ctx, &ASTCtx](QualType Ty, const Pointer &Ptr, in toRValue()
402 TYPE_SWITCH(*T, R = Ptr.deref<T>().toAPValue(ASTCtx)); in toRValue()
419 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
442 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
480 TYPE_SWITCH(*T, Slot = EP.deref<T>().toAPValue(ASTCtx)); in toRValue()
519 Values.push_back(Ptr.atIndex(I).deref<T>().toAPValue(ASTCtx)); in toRValue()
537 return toAPValue(ASTCtx); in toRValue()
541 TYPE_SWITCH(*T, return this->deref<T>().toAPValue(ASTCtx)); in toRValue()