Lines Matching refs:OptionalAmount
24 using clang::analyze_format_string::OptionalAmount;
37 OptionalAmount
54 return OptionalAmount(OptionalAmount::Constant, accumulator, Beg, I - Beg, in ParseAmount()
60 return OptionalAmount(); in ParseAmount()
63 OptionalAmount
69 return OptionalAmount(OptionalAmount::Arg, argIndex++, Beg, 0, false); in ParseNonPositionAmount()
75 OptionalAmount
83 const OptionalAmount &Amt = ParseAmount(I, E); in ParsePositionAmount()
85 if (Amt.getHowSpecified() == OptionalAmount::NotSpecified) { in ParsePositionAmount()
87 return OptionalAmount(false); in ParsePositionAmount()
93 return OptionalAmount(false); in ParsePositionAmount()
96 assert(Amt.getHowSpecified() == OptionalAmount::Constant); in ParsePositionAmount()
104 return OptionalAmount(false); in ParsePositionAmount()
110 return OptionalAmount(OptionalAmount::Arg, Amt.getConstantAmount() - 1, in ParsePositionAmount()
115 return OptionalAmount(false); in ParsePositionAmount()
133 const OptionalAmount Amt = in ParseFieldWidth()
152 const OptionalAmount &Amt = ParseAmount(I, E); in ParseArgPosition()
160 if (Amt.getHowSpecified() == OptionalAmount::Constant && *(I++) == '$') { in ParseArgPosition()
509 analyze_format_string::OptionalAmount::getArgType(ASTContext &Ctx) const { in getArgType()
636 void OptionalAmount::toString(raw_ostream &os) const { in toString()