Lines Matching refs:ASTContext
78 auto &ASTContext = RD->getASTContext();
79 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD);
82 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL);
85 CharUnits OptimalPad = calculateOptimalPad(RD, ASTContext, RL);
167 const ASTContext &ASTContext,
170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0));
176 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType());
178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits);
203 const ASTContext &ASTContext,
234 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0));