Lines Matching refs:ConversionSpecifier
24 using clang::analyze_format_string::ConversionSpecifier;
301 ConversionSpecifier::Kind k = ConversionSpecifier::InvalidSpecifier; in ParsePrintfSpecifier()
306 case '%': k = ConversionSpecifier::PercentArg; break; in ParsePrintfSpecifier()
307 case 'A': k = ConversionSpecifier::AArg; break; in ParsePrintfSpecifier()
308 case 'E': k = ConversionSpecifier::EArg; break; in ParsePrintfSpecifier()
309 case 'F': k = ConversionSpecifier::FArg; break; in ParsePrintfSpecifier()
310 case 'G': k = ConversionSpecifier::GArg; break; in ParsePrintfSpecifier()
311 case 'X': k = ConversionSpecifier::XArg; break; in ParsePrintfSpecifier()
312 case 'a': k = ConversionSpecifier::aArg; break; in ParsePrintfSpecifier()
313 case 'c': k = ConversionSpecifier::cArg; break; in ParsePrintfSpecifier()
314 case 'd': k = ConversionSpecifier::dArg; break; in ParsePrintfSpecifier()
315 case 'e': k = ConversionSpecifier::eArg; break; in ParsePrintfSpecifier()
316 case 'f': k = ConversionSpecifier::fArg; break; in ParsePrintfSpecifier()
317 case 'g': k = ConversionSpecifier::gArg; break; in ParsePrintfSpecifier()
318 case 'i': k = ConversionSpecifier::iArg; break; in ParsePrintfSpecifier()
322 k = ConversionSpecifier::nArg; in ParsePrintfSpecifier()
324 case 'o': k = ConversionSpecifier::oArg; break; in ParsePrintfSpecifier()
325 case 'p': k = ConversionSpecifier::pArg; break; in ParsePrintfSpecifier()
326 case 's': k = ConversionSpecifier::sArg; break; in ParsePrintfSpecifier()
327 case 'u': k = ConversionSpecifier::uArg; break; in ParsePrintfSpecifier()
328 case 'x': k = ConversionSpecifier::xArg; break; in ParsePrintfSpecifier()
330 case 'C': k = ConversionSpecifier::CArg; break; in ParsePrintfSpecifier()
331 case 'S': k = ConversionSpecifier::SArg; break; in ParsePrintfSpecifier()
334 k = ConversionSpecifier::PArg; in ParsePrintfSpecifier()
337 case '@': k = ConversionSpecifier::ObjCObjArg; break; in ParsePrintfSpecifier()
339 case 'm': k = ConversionSpecifier::PrintErrno; break; in ParsePrintfSpecifier()
343 k = ConversionSpecifier::FreeBSDbArg; // int followed by char * in ParsePrintfSpecifier()
347 k = ConversionSpecifier::FreeBSDrArg; // int in ParsePrintfSpecifier()
351 k = ConversionSpecifier::FreeBSDyArg; // int in ParsePrintfSpecifier()
356 k = ConversionSpecifier::FreeBSDDArg; // void * followed by char * in ParsePrintfSpecifier()
358 k = ConversionSpecifier::DArg; in ParsePrintfSpecifier()
362 k = ConversionSpecifier::OArg; in ParsePrintfSpecifier()
366 k = ConversionSpecifier::UArg; in ParsePrintfSpecifier()
371 k = ConversionSpecifier::ZArg; in ParsePrintfSpecifier()
377 if (k != ConversionSpecifier::ObjCObjArg && in ParsePrintfSpecifier()
378 k != ConversionSpecifier::InvalidSpecifier && in ParsePrintfSpecifier()
391 if (k == ConversionSpecifier::FreeBSDbArg || in ParsePrintfSpecifier()
392 k == ConversionSpecifier::FreeBSDDArg) in ParsePrintfSpecifier()
395 if (k == ConversionSpecifier::InvalidSpecifier) { in ParsePrintfSpecifier()
461 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg) in ParseFormatStringHasSArg()
490 if (CS.getKind() == ConversionSpecifier::cArg) in getScalarArgType()
594 if (CS.getKind() == ConversionSpecifier::nArg) { in getScalarArgType()
628 case ConversionSpecifier::sArg: in getScalarArgType()
638 case ConversionSpecifier::SArg: in getScalarArgType()
646 case ConversionSpecifier::CArg: in getScalarArgType()
653 case ConversionSpecifier::pArg: in getScalarArgType()
654 case ConversionSpecifier::PArg: in getScalarArgType()
656 case ConversionSpecifier::ObjCObjArg: in getScalarArgType()
684 if (CS.getKind() == ConversionSpecifier::nArg) in fixType()
695 CS.setKind(ConversionSpecifier::ObjCObjArg); in fixType()
711 CS.setKind(ConversionSpecifier::sArg); in fixType()
851 case ConversionSpecifier::uArg: in fixType()
852 case ConversionSpecifier::UArg: in fixType()
854 CS.setKind(clang::analyze_format_string::ConversionSpecifier::dArg); in fixType()
856 case ConversionSpecifier::dArg: in fixType()
857 case ConversionSpecifier::DArg: in fixType()
858 case ConversionSpecifier::iArg: in fixType()
860 CS.setKind(clang::analyze_format_string::ConversionSpecifier::uArg); in fixType()
875 CS.setKind(ConversionSpecifier::cArg); in fixType()
884 CS.setKind(ConversionSpecifier::fArg); in fixType()
887 CS.setKind(ConversionSpecifier::dArg); in fixType()
891 CS.setKind(ConversionSpecifier::uArg); in fixType()
939 case ConversionSpecifier::dArg: in hasValidPlusPrefix()
940 case ConversionSpecifier::DArg: in hasValidPlusPrefix()
941 case ConversionSpecifier::iArg: in hasValidPlusPrefix()
942 case ConversionSpecifier::fArg: in hasValidPlusPrefix()
943 case ConversionSpecifier::FArg: in hasValidPlusPrefix()
944 case ConversionSpecifier::eArg: in hasValidPlusPrefix()
945 case ConversionSpecifier::EArg: in hasValidPlusPrefix()
946 case ConversionSpecifier::gArg: in hasValidPlusPrefix()
947 case ConversionSpecifier::GArg: in hasValidPlusPrefix()
948 case ConversionSpecifier::aArg: in hasValidPlusPrefix()
949 case ConversionSpecifier::AArg: in hasValidPlusPrefix()
950 case ConversionSpecifier::FreeBSDrArg: in hasValidPlusPrefix()
951 case ConversionSpecifier::FreeBSDyArg: in hasValidPlusPrefix()
965 case ConversionSpecifier::oArg: in hasValidAlternativeForm()
966 case ConversionSpecifier::OArg: in hasValidAlternativeForm()
967 case ConversionSpecifier::xArg: in hasValidAlternativeForm()
968 case ConversionSpecifier::XArg: in hasValidAlternativeForm()
969 case ConversionSpecifier::aArg: in hasValidAlternativeForm()
970 case ConversionSpecifier::AArg: in hasValidAlternativeForm()
971 case ConversionSpecifier::eArg: in hasValidAlternativeForm()
972 case ConversionSpecifier::EArg: in hasValidAlternativeForm()
973 case ConversionSpecifier::fArg: in hasValidAlternativeForm()
974 case ConversionSpecifier::FArg: in hasValidAlternativeForm()
975 case ConversionSpecifier::gArg: in hasValidAlternativeForm()
976 case ConversionSpecifier::GArg: in hasValidAlternativeForm()
977 case ConversionSpecifier::FreeBSDrArg: in hasValidAlternativeForm()
978 case ConversionSpecifier::FreeBSDyArg: in hasValidAlternativeForm()
992 case ConversionSpecifier::dArg: in hasValidLeadingZeros()
993 case ConversionSpecifier::DArg: in hasValidLeadingZeros()
994 case ConversionSpecifier::iArg: in hasValidLeadingZeros()
995 case ConversionSpecifier::oArg: in hasValidLeadingZeros()
996 case ConversionSpecifier::OArg: in hasValidLeadingZeros()
997 case ConversionSpecifier::uArg: in hasValidLeadingZeros()
998 case ConversionSpecifier::UArg: in hasValidLeadingZeros()
999 case ConversionSpecifier::xArg: in hasValidLeadingZeros()
1000 case ConversionSpecifier::XArg: in hasValidLeadingZeros()
1001 case ConversionSpecifier::aArg: in hasValidLeadingZeros()
1002 case ConversionSpecifier::AArg: in hasValidLeadingZeros()
1003 case ConversionSpecifier::eArg: in hasValidLeadingZeros()
1004 case ConversionSpecifier::EArg: in hasValidLeadingZeros()
1005 case ConversionSpecifier::fArg: in hasValidLeadingZeros()
1006 case ConversionSpecifier::FArg: in hasValidLeadingZeros()
1007 case ConversionSpecifier::gArg: in hasValidLeadingZeros()
1008 case ConversionSpecifier::GArg: in hasValidLeadingZeros()
1009 case ConversionSpecifier::FreeBSDrArg: in hasValidLeadingZeros()
1010 case ConversionSpecifier::FreeBSDyArg: in hasValidLeadingZeros()
1024 case ConversionSpecifier::dArg: in hasValidSpacePrefix()
1025 case ConversionSpecifier::DArg: in hasValidSpacePrefix()
1026 case ConversionSpecifier::iArg: in hasValidSpacePrefix()
1027 case ConversionSpecifier::fArg: in hasValidSpacePrefix()
1028 case ConversionSpecifier::FArg: in hasValidSpacePrefix()
1029 case ConversionSpecifier::eArg: in hasValidSpacePrefix()
1030 case ConversionSpecifier::EArg: in hasValidSpacePrefix()
1031 case ConversionSpecifier::gArg: in hasValidSpacePrefix()
1032 case ConversionSpecifier::GArg: in hasValidSpacePrefix()
1033 case ConversionSpecifier::aArg: in hasValidSpacePrefix()
1034 case ConversionSpecifier::AArg: in hasValidSpacePrefix()
1035 case ConversionSpecifier::FreeBSDrArg: in hasValidSpacePrefix()
1036 case ConversionSpecifier::FreeBSDyArg: in hasValidSpacePrefix()
1050 case ConversionSpecifier::nArg: in hasValidLeftJustified()
1063 case ConversionSpecifier::dArg: in hasValidThousandsGroupingPrefix()
1064 case ConversionSpecifier::DArg: in hasValidThousandsGroupingPrefix()
1065 case ConversionSpecifier::iArg: in hasValidThousandsGroupingPrefix()
1066 case ConversionSpecifier::uArg: in hasValidThousandsGroupingPrefix()
1067 case ConversionSpecifier::UArg: in hasValidThousandsGroupingPrefix()
1068 case ConversionSpecifier::fArg: in hasValidThousandsGroupingPrefix()
1069 case ConversionSpecifier::FArg: in hasValidThousandsGroupingPrefix()
1070 case ConversionSpecifier::gArg: in hasValidThousandsGroupingPrefix()
1071 case ConversionSpecifier::GArg: in hasValidThousandsGroupingPrefix()
1084 case ConversionSpecifier::dArg: in hasValidPrecision()
1085 case ConversionSpecifier::DArg: in hasValidPrecision()
1086 case ConversionSpecifier::iArg: in hasValidPrecision()
1087 case ConversionSpecifier::oArg: in hasValidPrecision()
1088 case ConversionSpecifier::OArg: in hasValidPrecision()
1089 case ConversionSpecifier::uArg: in hasValidPrecision()
1090 case ConversionSpecifier::UArg: in hasValidPrecision()
1091 case ConversionSpecifier::xArg: in hasValidPrecision()
1092 case ConversionSpecifier::XArg: in hasValidPrecision()
1093 case ConversionSpecifier::aArg: in hasValidPrecision()
1094 case ConversionSpecifier::AArg: in hasValidPrecision()
1095 case ConversionSpecifier::eArg: in hasValidPrecision()
1096 case ConversionSpecifier::EArg: in hasValidPrecision()
1097 case ConversionSpecifier::fArg: in hasValidPrecision()
1098 case ConversionSpecifier::FArg: in hasValidPrecision()
1099 case ConversionSpecifier::gArg: in hasValidPrecision()
1100 case ConversionSpecifier::GArg: in hasValidPrecision()
1101 case ConversionSpecifier::sArg: in hasValidPrecision()
1102 case ConversionSpecifier::FreeBSDrArg: in hasValidPrecision()
1103 case ConversionSpecifier::FreeBSDyArg: in hasValidPrecision()
1104 case ConversionSpecifier::PArg: in hasValidPrecision()
1117 case ConversionSpecifier::nArg: in hasValidFieldWidth()