Lines Matching refs:OptionalAmount
24 using clang::analyze_format_string::OptionalAmount;
36 OptionalAmount
53 return OptionalAmount(OptionalAmount::Constant, accumulator, Beg, I - Beg, in ParseAmount()
59 return OptionalAmount(); in ParseAmount()
62 OptionalAmount
68 return OptionalAmount(OptionalAmount::Arg, argIndex++, Beg, 0, false); in ParseNonPositionAmount()
74 OptionalAmount
82 const OptionalAmount &Amt = ParseAmount(I, E); in ParsePositionAmount()
84 if (Amt.getHowSpecified() == OptionalAmount::NotSpecified) { in ParsePositionAmount()
86 return OptionalAmount(false); in ParsePositionAmount()
92 return OptionalAmount(false); in ParsePositionAmount()
95 assert(Amt.getHowSpecified() == OptionalAmount::Constant); in ParsePositionAmount()
103 return OptionalAmount(false); in ParsePositionAmount()
109 return OptionalAmount(OptionalAmount::Arg, Amt.getConstantAmount() - 1, in ParsePositionAmount()
114 return OptionalAmount(false); in ParsePositionAmount()
132 const OptionalAmount Amt = in ParseFieldWidth()
151 const OptionalAmount &Amt = ParseAmount(I, E); in ParseArgPosition()
159 if (Amt.getHowSpecified() == OptionalAmount::Constant && *(I++) == '$') { in ParseArgPosition()
198 OptionalAmount NumElts = ParseAmount(I, E); in ParseVectorModifier()
199 if (NumElts.getHowSpecified() != OptionalAmount::Constant) { in ParseVectorModifier()
675 analyze_format_string::OptionalAmount::getArgType(ASTContext &Ctx) const { in getArgType()
818 void OptionalAmount::toString(raw_ostream &os) const { in toString()