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

References

tools/clang/lib/Sema/SemaExpr.cpp
 3413   if (Literal.hadError)
 3416   if (Literal.hasUDSuffix()) {
 3418     IdentifierInfo *UDSuffix = &Context.Idents.get(Literal.getUDSuffix());
 3420       getUDSuffixLoc(*this, Tok.getLocation(), Literal.getUDSuffixOffset());
 3427     if (Literal.isFloatingLiteral()) {
 3452                                   /*DiagnoseMissing*/ !Literal.isImaginary)) {
 3461       if (Literal.isFloatingLiteral()) {
 3462         Lit = BuildFloatingLiteral(*this, Literal, CookedTy, Tok.getLocation());
 3465         if (Literal.GetIntegerValue(ResultVal))
 3478       unsigned Length = Literal.getUDSuffixOffset();
 3497       for (unsigned I = 0, N = Literal.getUDSuffixOffset(); I != N; ++I) {
 3513   if (Literal.isFixedPointLiteral()) {
 3516     if (Literal.isAccum) {
 3517       if (Literal.isHalf) {
 3519       } else if (Literal.isLong) {
 3524     } else if (Literal.isFract) {
 3525       if (Literal.isHalf) {
 3527       } else if (Literal.isLong) {
 3534     if (Literal.isUnsigned) Ty = Context.getCorrespondingUnsignedType(Ty);
 3536     bool isSigned = !Literal.isUnsigned;
 3541     bool Overflowed = Literal.GetFixedPointValue(Val, scale);
 3545     if (Literal.isFract && Val == MaxVal + 1 && !ValIsZero)
 3556   } else if (Literal.isFloatingLiteral()) {
 3558     if (Literal.isHalf){
 3565     } else if (Literal.isFloat)
 3567     else if (Literal.isLong)
 3569     else if (Literal.isFloat16)
 3571     else if (Literal.isFloat128)
 3576     Res = BuildFloatingLiteral(*this, Literal, Ty, Tok.getLocation());
 3591   } else if (!Literal.isIntegerLiteral()) {
 3597     if (!getLangOpts().C99 && Literal.isLongLong) {
 3610     if (Literal.GetIntegerValue(ResultVal)) {
 3623       bool AllowUnsigned = Literal.isUnsigned || Literal.getRadix() != 10;
 3623       bool AllowUnsigned = Literal.isUnsigned || Literal.getRadix() != 10;
 3629       if (Literal.MicrosoftInteger) {
 3630         if (Literal.MicrosoftInteger == 8 && !Literal.isUnsigned) {
 3630         if (Literal.MicrosoftInteger == 8 && !Literal.isUnsigned) {
 3634           Width = Literal.MicrosoftInteger;
 3636                                              /*Signed=*/!Literal.isUnsigned);
 3640       if (Ty.isNull() && !Literal.isLong && !Literal.isLongLong) {
 3640       if (Ty.isNull() && !Literal.isLong && !Literal.isLongLong) {
 3647           if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0)
 3656       if (Ty.isNull() && !Literal.isLongLong) {
 3662           if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0)
 3673                      ? Literal.isLong
 3695           if (!Literal.isUnsigned && (ResultVal[LongLongSize-1] == 0 ||
 3696               (getLangOpts().MSVCCompat && Literal.isLongLong)))
 3719   if (Literal.isImaginary) {