Home | History | Annotate | Download | only in Frontend

Lines Matching refs:PH

315   for (ParseHelper PH(S); !PH.Done();) {
317 if (!PH.Search("expected", true))
319 PH.Advance();
322 if (!PH.Next("-"))
324 PH.Advance();
328 if (PH.Next("error"))
330 else if (PH.Next("warning"))
332 else if (PH.Next("remark"))
334 else if (PH.Next("note"))
336 else if (PH.Next("no-diagnostics")) {
345 PH.Advance();
364 if (PH.Next("-re")) {
365 PH.Advance();
373 if (!PH.Next("@")) {
376 PH.Advance();
378 bool FoundPlus = PH.Next("+");
379 if (FoundPlus || PH.Next("-")) {
381 PH.Advance();
384 if (!Invalid && PH.Next(Line) && (FoundPlus || Line < ExpectedLine)) {
389 } else if (PH.Next(Line)) {
393 } else if (PP && PH.Search(":")) {
395 StringRef Filename(PH.C, PH.P-PH.C);
396 PH.Advance();
404 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
412 if (PH.Next(Line) && Line > 0)
414 else if (PH.Next("*")) {
421 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
425 PH.Advance();
429 PH.SkipWhitespace();
434 if (PH.Next(Min)) {
435 PH.Advance();
438 if (PH.Next("+")) {
440 PH.Advance();
441 } else if (PH.Next("-")) {
442 PH.Advance();
443 if (!PH.Next(Max) || Max < Min) {
444 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
448 PH.Advance();
452 } else if (PH.Next("+")) {
455 PH.Advance();
459 PH.SkipWhitespace();
462 if (!PH.Next("{{")) {
463 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
467 PH.Advance();
468 const char* const ContentBegin = PH.C; // mark content begin
471 if (!PH.SearchClosingBrace("{{", "}}")) {
472 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
476 const char* const ContentEnd = PH.P; // mark content end
477 PH.Advance();
495 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),
509 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),