Lines Matching refs:LengthModifier
22 using clang::analyze_format_string::LengthModifier;
492 case LengthModifier::None: in getScalarArgType()
494 case LengthModifier::AsLong: in getScalarArgType()
495 case LengthModifier::AsWide: in getScalarArgType()
497 case LengthModifier::AsShort: in getScalarArgType()
507 case LengthModifier::AsLongDouble: in getScalarArgType()
510 case LengthModifier::None: in getScalarArgType()
511 case LengthModifier::AsShortLong: in getScalarArgType()
513 case LengthModifier::AsInt32: in getScalarArgType()
515 case LengthModifier::AsChar: in getScalarArgType()
517 case LengthModifier::AsShort: return Ctx.ShortTy; in getScalarArgType()
518 case LengthModifier::AsLong: return Ctx.LongTy; in getScalarArgType()
519 case LengthModifier::AsLongLong: in getScalarArgType()
520 case LengthModifier::AsQuad: in getScalarArgType()
522 case LengthModifier::AsInt64: in getScalarArgType()
524 case LengthModifier::AsIntMax: in getScalarArgType()
526 case LengthModifier::AsSizeT: in getScalarArgType()
528 case LengthModifier::AsInt3264: in getScalarArgType()
532 case LengthModifier::AsPtrDiff: in getScalarArgType()
535 case LengthModifier::AsAllocate: in getScalarArgType()
536 case LengthModifier::AsMAllocate: in getScalarArgType()
537 case LengthModifier::AsWide: in getScalarArgType()
543 case LengthModifier::AsLongDouble: in getScalarArgType()
546 case LengthModifier::None: in getScalarArgType()
547 case LengthModifier::AsShortLong: in getScalarArgType()
549 case LengthModifier::AsInt32: in getScalarArgType()
551 case LengthModifier::AsChar: return Ctx.UnsignedCharTy; in getScalarArgType()
552 case LengthModifier::AsShort: return Ctx.UnsignedShortTy; in getScalarArgType()
553 case LengthModifier::AsLong: return Ctx.UnsignedLongTy; in getScalarArgType()
554 case LengthModifier::AsLongLong: in getScalarArgType()
555 case LengthModifier::AsQuad: in getScalarArgType()
557 case LengthModifier::AsInt64: in getScalarArgType()
559 case LengthModifier::AsIntMax: in getScalarArgType()
561 case LengthModifier::AsSizeT: in getScalarArgType()
563 case LengthModifier::AsInt3264: in getScalarArgType()
567 case LengthModifier::AsPtrDiff: in getScalarArgType()
570 case LengthModifier::AsAllocate: in getScalarArgType()
571 case LengthModifier::AsMAllocate: in getScalarArgType()
572 case LengthModifier::AsWide: in getScalarArgType()
579 case LengthModifier::AsShort: in getScalarArgType()
581 case LengthModifier::AsShortLong: in getScalarArgType()
583 case LengthModifier::AsLong: in getScalarArgType()
589 if (LM.getKind() == LengthModifier::AsLongDouble) in getScalarArgType()
596 case LengthModifier::None: in getScalarArgType()
598 case LengthModifier::AsChar: in getScalarArgType()
600 case LengthModifier::AsShort: in getScalarArgType()
602 case LengthModifier::AsLong: in getScalarArgType()
604 case LengthModifier::AsLongLong: in getScalarArgType()
605 case LengthModifier::AsQuad: in getScalarArgType()
607 case LengthModifier::AsIntMax: in getScalarArgType()
609 case LengthModifier::AsSizeT: in getScalarArgType()
611 case LengthModifier::AsPtrDiff: in getScalarArgType()
613 case LengthModifier::AsLongDouble: in getScalarArgType()
615 case LengthModifier::AsAllocate: in getScalarArgType()
616 case LengthModifier::AsMAllocate: in getScalarArgType()
617 case LengthModifier::AsInt32: in getScalarArgType()
618 case LengthModifier::AsInt3264: in getScalarArgType()
619 case LengthModifier::AsInt64: in getScalarArgType()
620 case LengthModifier::AsWide: in getScalarArgType()
622 case LengthModifier::AsShortLong: in getScalarArgType()
629 if (LM.getKind() == LengthModifier::AsWideChar) { in getScalarArgType()
635 if (LM.getKind() == LengthModifier::AsWide) in getScalarArgType()
643 LM.getKind() == LengthModifier::AsShort) in getScalarArgType()
650 LM.getKind() == LengthModifier::AsShort) in getScalarArgType()
704 LM.setKind(LengthModifier::None); in fixType()
719 LM.setKind(LengthModifier::AsWideChar); in fixType()
721 LM.setKind(LengthModifier::None); in fixType()
810 LengthModifier::None : LengthModifier::AsShortLong); in fixType()
814 LengthModifier::None : LengthModifier::AsLong); in fixType()
820 LM.setKind(LengthModifier::AsChar); in fixType()
825 LM.setKind(LengthModifier::AsShort); in fixType()
830 LM.setKind(LengthModifier::AsLong); in fixType()
835 LM.setKind(LengthModifier::AsLongLong); in fixType()
839 LM.setKind(LengthModifier::AsLongDouble); in fixType()
876 LM.setKind(LengthModifier::None); in fixType()