Lines Matching defs:Tok
84 bool AffectedRangeManager::affectsLeadingEmptyLines(const FormatToken &Tok) {
86 Tok.WhitespaceRange.getBegin(),
87 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset));
120 for (FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) {
121 // Determine whether 'Tok' was affected.
122 if (affectsTokenRange(*Tok, *Tok, IncludeLeadingNewlines))
125 // Determine whether the first child of 'Tok' was affected.
126 if (!Tok->Children.empty() && Tok->Children.front()->Affected)
129 IncludeLeadingNewlines = Tok->Children.empty();