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

References

tools/clang/lib/Sema/SemaDecl.cpp
17427     BestType = Enum->getIntegerType();
17428     if (BestType->isPromotableIntegerType())
17429       BestPromotionType = Context.getPromotedIntegerType(BestType);
17431       BestPromotionType = BestType;
17433     BestWidth = Context.getIntWidth(BestType);
17440       BestType = Context.SignedCharTy;
17444       BestType = Context.ShortTy;
17447       BestType = Context.IntTy;
17453         BestType = Context.LongTy;
17459         BestType = Context.LongLongTy;
17462     BestPromotionType = (BestWidth <= IntWidth ? Context.IntTy : BestType);
17468       BestType = Context.UnsignedCharTy;
17472       BestType = Context.UnsignedShortTy;
17476       BestType = Context.UnsignedIntTy;
17483       BestType = Context.UnsignedLongTy;
17491       BestType = Context.UnsignedLongLongTy;
17524     } else if (ECD->getType() == BestType) {
17533       NewTy = BestType;
17535       NewSign = BestType->isSignedIntegerOrEnumerationType();
17560   Enum->completeDefinition(BestType, BestPromotionType,