Lines Matching full:rest
467 StringRef Rest = Spec.drop_front(2);
469 // Drop the first ':', then split the rest of the string the usual way.
470 if (!Rest.consume_front(":"))
473 for (StringRef Str : split(Rest, ':')) {
484 // The rest of the specifiers are single-character.
497 StringRef Rest = Spec.drop_front();
505 if (!Rest.empty())
512 for (StringRef Str : split(Rest, ':')) {
521 if (Rest.empty())
524 if (Error Err = parseAlignment(Rest, Alignment, "stack natural"))
531 if (Rest.empty())
533 char Type = Rest.front();
534 Rest = Rest.drop_front();
547 if (Error Err = parseAlignment(Rest, Alignment, "ABI"))
553 if (Rest.empty())
555 if (Error Err = parseAddrSpace(Rest, ProgramAddrSpace))
560 if (Rest.empty())
562 if (Error Err = parseAddrSpace(Rest, AllocaAddrSpace))
567 if (Rest.empty())
569 if (Error Err = parseAddrSpace(Rest, DefaultGlobalsAddrSpace))
574 if (!Rest.consume_front(":") || Rest.empty())
576 if (Rest.size() > 1)
578 switch (Rest[0]) {