Searched refs:FormatTok (Results 1 – 3 of 3) sorted by relevance
101 static FormatToken FormatTok; in getFakeEOF() local103 FormatTok.Tok.startToken(); in getFakeEOF()104 FormatTok.Tok.setKind(tok::eof); in getFakeEOF()107 return &FormatTok; in getFakeEOF()219 FormatTok = nullptr; in reset()239 pushToken(FormatTok); in parse()277 switch (FormatTok->Tok.getKind()) { in parseLevel()316 FormatToken *Tok = FormatTok; in calculateBraceTypes()394 FormatTok = Tokens->setPosition(StoredPosition); in calculateBraceTypes()399 assert(FormatTok->Tok.is(tok::l_brace) && "'{' expected"); in parseBlock()[all …]
600 : FormatTok(nullptr), IsFirstToken(true), GreaterStashed(false), in FormatTokenLexer()954 Token Tok = FormatTok->Tok; in getStashedToken()955 StringRef TokenText = FormatTok->TokenText; in getStashedToken()957 unsigned OriginalColumn = FormatTok->OriginalColumn; in getStashedToken()958 FormatTok = new (Allocator.Allocate()) FormatToken; in getStashedToken()959 FormatTok->Tok = Tok; in getStashedToken()961 FormatTok->Tok.getLocation().getLocWithOffset(Tok.getLength() - 1); in getStashedToken()962 FormatTok->Tok.setLocation(TokLocation); in getStashedToken()963 FormatTok->WhitespaceRange = SourceRange(TokLocation, TokLocation); in getStashedToken()964 FormatTok->TokenText = TokenText; in getStashedToken()[all …]
128 bool isOnNewLine(const FormatToken &FormatTok);140 FormatToken *FormatTok; variable