Lines Matching refs:FormatToken
719 FormatToken *Tok = I[1]->First; in tryMergeSimpleBlock()
781 for (const FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { in containsMustBreak()
818 const FormatToken *FirstTok = TheLine.First; in format()
902 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) { in format()
927 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) { in format()
983 int getIndentOffset(const FormatToken &RootToken) { in getIndentOffset()
991 void formatFirstToken(FormatToken &RootToken, in formatFirstToken()
1048 for (FormatToken *Tok = B.First; Tok; Tok = Tok->Next) { in join()
1199 FormatToken &Previous = *State.NextToken->Previous; in formatChildren()
1200 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren()
1281 ArrayRef<FormatToken *> lex() { in lex()
1330 SmallVectorImpl<FormatToken *>::const_iterator First = in tryMergeTokens()
1353 FormatToken *Previous = Tokens[Tokens.size() - 2]; in tryMergeEscapeSequence()
1401 FormatToken *Last = Tokens.back(); in tryMerge_TMacro()
1405 FormatToken *String = Tokens[Tokens.size() - 2]; in tryMerge_TMacro()
1412 FormatToken *Macro = Tokens[Tokens.size() - 4]; in tryMerge_TMacro()
1479 FormatToken *Next = Tokens.back(); in tryMergeConflictMarkers()
1495 FormatToken *getNextToken() { in getNextToken()
1500 FormatTok = new (Allocator.Allocate()) FormatToken; in getNextToken()
1512 FormatTok = new (Allocator.Allocate()) FormatToken; in getNextToken()
1631 FormatToken *FormatTok;
1641 llvm::SpecificBumpPtrAllocator<FormatToken> Allocator;
1644 SmallVector<FormatToken *, 16> Tokens;
1647 void readRawToken(FormatToken &Tok) { in readRawToken()
1762 FormatToken *Last = Line->Last; in computeAffectedLines()
1807 for (FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { in nonPPLineAffected()
1849 bool affectsTokenRange(const FormatToken &First, const FormatToken &Last, in affectsTokenRange()
1863 bool affectsLeadingEmptyLines(const FormatToken &Tok) { in affectsLeadingEmptyLines()
1896 FormatToken *Tok = AnnotatedLines[i]->First->Next; in deriveLocalStyle()