Lines Matching defs:FormatExpr
631 StringRef FormatExpr = Expr.take_front(FormatSpecEnd);
633 FormatExpr = FormatExpr.trim(SpaceChars);
634 if (!FormatExpr.consume_front("%"))
636 SM, FormatExpr,
640 SMLoc AlternateFormFlagLoc = SMLoc::getFromPointer(FormatExpr.data());
641 bool AlternateForm = FormatExpr.consume_front("#");
644 if (FormatExpr.consume_front(".")) {
645 if (FormatExpr.consumeInteger(10, Precision))
646 return ErrorDiagnostic::get(SM, FormatExpr,
650 if (!FormatExpr.empty()) {
653 SMLoc FmtLoc = SMLoc::getFromPointer(FormatExpr.data());
654 switch (popFront(FormatExpr)) {
683 FormatExpr = FormatExpr.ltrim(SpaceChars);
684 if (!FormatExpr.empty())
686 SM, FormatExpr,