Lines Matching defs:Next
212 bool Next(StringRef S) {
222 bool Next(unsigned &N) {
326 // Next token: -
327 if (!PH.Next("-"))
331 // Next token: { error | warning | note }
333 if (PH.Next("error"))
335 else if (PH.Next("warning"))
337 else if (PH.Next("remark"))
339 else if (PH.Next("note"))
341 else if (PH.Next("no-diagnostics")) {
368 // Next optional token: -
369 if (PH.Next("-re")) {
375 // Next optional token: @
378 if (!PH.Next("@")) {
383 bool FoundPlus = PH.Next("+");
384 if (FoundPlus || PH.Next("-")) {
389 if (!Invalid && PH.Next(Line) && (FoundPlus || Line < ExpectedLine)) {
394 } else if (PH.Next(Line)) {
416 if (PH.Next(Line) && Line > 0)
418 else if (PH.Next("*")) {
435 // Next optional token: positive integer or a '+'.
438 if (PH.Next(Min)) {
442 if (PH.Next("+")) {
445 } else if (PH.Next("-")) {
447 if (!PH.Next(Max) || Max < Min) {
456 } else if (PH.Next("+")) {
465 // Next token: {{
466 if (!PH.Next("{{")) {