Home | History | Annotate | Download | only in Format

Lines Matching refs:Previous

44 // Returns the previous token ignoring comments.
574 for (AnnotatedToken *Previous = Current.Parent;
575 Previous && Previous->isNot(tok::comma);
576 Previous = Previous->Parent) {
577 if (Previous->is(tok::r_square))
578 Previous = Previous->MatchingParen;
579 if (Previous->Type == TT_BinaryOperator &&
580 Previous->isOneOf(tok::star, tok::amp)) {
581 Previous->Type = TT_PointerOrReference;
589 for (AnnotatedToken *Previous = Current.Parent;
590 Previous && Previous->isOneOf(tok::star, tok::amp);
591 Previous = Previous->Parent)
592 Previous->Type = TT_PointerOrReference;