Home | History | Annotate | Download | only in Frontend

Lines Matching refs:PH

285   for (ParseHelper PH(S); !PH.Done();) {
287 if (!PH.Search("expected", true))
289 PH.Advance();
292 if (!PH.Next("-"))
294 PH.Advance();
298 if (PH.Next("error"))
300 else if (PH.Next("warning"))
302 else if (PH.Next("note"))
304 else if (PH.Next("no-diagnostics")) {
313 PH.Advance();
332 if (PH.Next("-re")) {
333 PH.Advance();
340 if (!PH.Next("@")) {
343 PH.Advance();
345 bool FoundPlus = PH.Next("+");
346 if (FoundPlus || PH.Next("-")) {
348 PH.Advance();
351 if (!Invalid && PH.Next(Line) && (FoundPlus || Line < ExpectedLine)) {
358 if (PH.Next(Line) && Line > 0)
363 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
367 PH.Advance();
371 PH.SkipWhitespace();
376 if (PH.Next(Min)) {
377 PH.Advance();
380 if (PH.Next("+")) {
382 PH.Advance();
383 } else if (PH.Next("-")) {
384 PH.Advance();
385 if (!PH.Next(Max) || Max < Min) {
386 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
390 PH.Advance();
394 } else if (PH.Next("+")) {
397 PH.Advance();
401 PH.SkipWhitespace();
404 if (!PH.Next("{{")) {
405 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
409 PH.Advance();
410 const char* const ContentBegin = PH.C; // mark content begin
413 if (!PH.Search("}}")) {
414 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
418 const char* const ContentEnd = PH.P; // mark content end
419 PH.Advance();
443 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),