reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  108     return Context.getTargetInfo().getCXXABI().isMicrosoft() ||
  109            D->isMsStruct(Context);
  117     return !Context.getTargetInfo().getCXXABI().isMicrosoft();
  138     return getIntNType(std::min(FD->getBitWidthValue(Context),
  139                              (unsigned)Context.toBits(getSize(Type))));
  146     return Context.toCharUnitsFromBits(BitOffset);
  228   Info.Offset = (unsigned)(getFieldBitOffset(FD) - Context.toBits(StartOffset));
  229   Info.Size = FD->getBitWidthValue(Context);
  297       if (Field->isZeroLengthBitField(Context))
  356     } else if (!Field->isZeroSize(Context)) {
  384       if (Field->isZeroLengthBitField(Context)) {
  421             Context.toBits(getAlignment(getIntNType(OffsetInRecord))) !=
  436       if (!Field->isZeroLengthBitField(Context)) {
  439         Tail = StartBitOffset + Field->getBitWidthValue(Context);
  458         (!Field->isZeroLengthBitField(Context) ||
  459          (!Context.getTargetInfo().useZeroLengthBitfieldAlignment() &&
  460           !Context.getTargetInfo().useBitFieldTypeAlignment())) &&
  462       Tail += Field->getBitWidthValue(Context);
  497         !Context.getASTRecordLayout(BaseDecl).getNonVirtualSize().isZero())
  526       if (Context.isNearlyEmpty(BaseDecl) && !hasOwnStorage(RD, BaseDecl))
  541         Context.isNearlyEmpty(BaseDecl) &&
  558   const ASTRecordLayout &DeclLayout = Context.getASTRecordLayout(Decl);
  605             Context.getTypeInfoDataSizeInChars(Prior->FD->getType()).first);
  645     Members.back().Data = getIntNType(Context.toBits(Alignment));