Lines Matching refs:FD
173 auto IsTrickyField = [](const FieldDecl *FD) -> bool { in shouldSkipDecl() argument
175 if (FD->isBitField()) in shouldSkipDecl()
179 QualType Ty = FD->getType(); in shouldSkipDecl()
195 for (const FieldDecl *FD : RD->fields()) { in calculateBaselinePad() local
199 if (FD->isZeroSize(ASTContext)) in calculateBaselinePad()
205 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
206 auto FieldOffsetBits = RL.getFieldOffset(FD->getFieldIndex()); in calculateBaselinePad()
252 auto GatherSizesAndAlignments = [](const FieldDecl *FD) { in calculateOptimalPad() argument
254 RetVal.Field = FD; in calculateOptimalPad()
255 auto &Ctx = FD->getASTContext(); in calculateOptimalPad()
256 auto Info = Ctx.getTypeInfoInChars(FD->getType()); in calculateOptimalPad()
257 RetVal.Size = FD->isZeroSize(Ctx) ? CharUnits::Zero() : Info.Width; in calculateOptimalPad()
260 if (auto Max = FD->getMaxAlignment()) in calculateOptimalPad()
333 for (const auto *FD : OptimalFieldsOrder) in reportRecord() local
334 Os << FD->getName() << ", "; in reportRecord()