Home | History | Annotate | Download | only in Format

Lines Matching defs:Next

740       // Second, check that the next line does not contain any braces - if it
747 Tok = Tok->Next;
781 for (const FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) {
902 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) {
927 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) {
998 (!RootToken.Next ||
999 (RootToken.Next->is(tok::semi) && !RootToken.Next->Next)))
1040 assert(!A.Last->Next);
1044 A.Last->Next = B.First;
1048 for (FormatToken *Tok = B.First; Tok; Tok = Tok->Next) {
1177 /// \brief If the \p State's next token is an r_brace closing a nested block,
1479 FormatToken *Next = Tokens.back();
1488 Tokens.push_back(Next);
1599 // Now FormatTok is the next non-whitespace token.
1799 // Stores whether we need to look at the leading newlines of the next token
1807 for (FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) {
1825 Line->First->is(tok::comment) && Line->First->Next == nullptr &&
1894 if (!AnnotatedLines[i]->First->Next)
1896 FormatToken *Tok = AnnotatedLines[i]->First->Next;
1897 while (Tok->Next) {
1901 bool SpacesAfter = Tok->Next->WhitespaceRange.getBegin() !=
1902 Tok->Next->WhitespaceRange.getEnd();
1923 Tok = Tok->Next;