Searched refs:FormatTok (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineParser.cpp99 static FormatToken FormatTok; local
101 FormatTok.Tok.startToken();
102 FormatTok.Tok.setKind(tok::eof);
105 return &FormatTok;
212 FormatTok = nullptr;
231 pushToken(FormatTok);
270 tok::TokenKind kind = FormatTok->Tok.getKind();
271 if (FormatTok->Type == TT_MacroBlockBegin) {
273 } else if (FormatTok->Type == TT_MacroBlockEnd) {
285 if (!FormatTok
1873 isOnNewLine(const FormatToken &FormatTok) argument
[all...]
H A DFormat.cpp766 : FormatTok(nullptr), IsFirstToken(true), GreaterStashed(false),
1161 Token Tok = FormatTok->Tok;
1162 StringRef TokenText = FormatTok->TokenText;
1164 unsigned OriginalColumn = FormatTok->OriginalColumn;
1165 FormatTok = new (Allocator.Allocate()) FormatToken;
1166 FormatTok->Tok = Tok;
1168 FormatTok->Tok.getLocation().getLocWithOffset(Tok.getLength() - 1);
1169 FormatTok->Tok.setLocation(TokLocation);
1170 FormatTok->WhitespaceRange = SourceRange(TokLocation, TokLocation);
1171 FormatTok
1346 FormatToken *FormatTok; member in class:clang::format::__anon3863::FormatTokenLexer
[all...]
H A DUnwrappedLineParser.h128 bool isOnNewLine(const FormatToken &FormatTok);
140 FormatToken *FormatTok; member in class:clang::format::UnwrappedLineParser

Completed in 61 milliseconds