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