• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/

Lines Matching refs:PH

412   for (ParseHelper PH(S); !PH.Done();) {
413 if (!PH.Search("#", true))
415 PH.C = PH.P;
416 if (!PH.NextMarker()) {
417 PH.Next("#");
418 PH.Advance();
421 PH.Advance();
422 Markers.addMarker(PH.Match(), Pos);
427 for (ParseHelper PH(S); !PH.Done();) {
432 if (!(Prefixes.size() == 1 ? PH.Search(*Prefixes.begin(), true, true)
433 : PH.Search("", true, true)))
436 StringRef DToken = PH.Match();
437 PH.Advance();
507 if (!PH.Next("@")) {
510 PH.Advance();
512 bool FoundPlus = PH.Next("+");
513 if (FoundPlus || PH.Next("-")) {
515 PH.Advance();
518 if (!Invalid && PH.Next(Line) && (FoundPlus || Line < ExpectedLine)) {
523 } else if (PH.Next(Line)) {
527 } else if (PH.NextMarker()) {
528 Marker = PH.Match();
529 } else if (PP && PH.Search(":")) {
531 StringRef Filename(PH.C, PH.P-PH.C);
532 PH.Advance();
536 if (!PH.Next("*")) {
537 Diags.Report(Pos.getLocWithOffset(PH.C - PH.Begin),
551 Diags.Report(Pos.getLocWithOffset(PH.C - PH.Begin),
561 if (PH.Next(Line) && Line > 0)
563 else if (PH.Next("*")) {
568 } else if (PH.Next("*")) {
574 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
578 PH.Advance();
582 PH.SkipWhitespace();
585 if (PH.Next(D.Min)) {
586 PH.Advance();
589 if (PH.Next("+")) {
591 PH.Advance();
592 } else if (PH.Next("-")) {
593 PH.Advance();
594 if (!PH.Next(D.Max) || D.Max < D.Min) {
595 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
599 PH.Advance();
603 } else if (PH.Next("+")) {
606 PH.Advance();
610 PH.SkipWhitespace();
613 if (!PH.Next("{{")) {
614 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
618 PH.Advance();
619 const char* const ContentBegin = PH.C; // mark content begin
621 if (!PH.SearchClosingBrace("{{", "}}")) {
622 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
626 const char* const ContentEnd = PH.P; // mark content end
627 PH.Advance();
630 D.ContentBegin = Pos.getLocWithOffset(ContentBegin - PH.Begin);