Home | History | Annotate | Download | only in Format

Lines Matching defs:Lex

26 #include "clang/Lex/Lexer.h"
1332 FormatTokenLexer(Lexer &Lex, SourceManager &SourceMgr,
1334 : FormatTok(NULL), GreaterStashed(false), TrailingWhitespace(0), Lex(Lex),
1337 Lex.SetKeepWhitespaceMode(true);
1340 ArrayRef<FormatToken *> lex() {
1429 Lexer &Lex;
1437 Lex.LexFromRawLexer(Tok.Tok);
1453 Formatter(const FormatStyle &Style, Lexer &Lex, SourceManager &SourceMgr,
1455 : Style(Style), Lex(Lex), SourceMgr(SourceMgr),
1457 Encoding(encoding::detectEncoding(Lex.getBuffer())) {
1467 FormatTokenLexer Tokens(Lex, SourceMgr, Encoding);
1469 UnwrappedLineParser Parser(Style, Tokens.lex(), *this);
1880 Lexer &Lex;
1892 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
1895 Formatter formatter(Style, Lex, SourceMgr, Ranges);
1913 Lexer Lex(ID, SourceMgr.getBuffer(ID), SourceMgr,
1922 return reformat(Style, Lex, SourceMgr, CharRanges);