/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 65 Lex.Lex(); 69 Lex.getLoc(), 87 Lex.Lex(); 92 if (Lex.getKind() != lltok::Eof) 93 return Error(Lex.getLoc(), "expected end of string"); 100 Lex.Lex(); 103 SMLoc Start = Lex [all...] |
H A D | LLParser.h | 89 LLLexer Lex; member in class:llvm::LLParser 166 : Context(Context), Lex(F, SM, Err, Context), M(M), Index(Index), 182 return Lex.Error(L, Msg); 185 return Error(Lex.getLoc(), Msg); 206 if (Lex.getKind() != T) return false; 207 Lex.Lex(); 214 switch (Lex.getKind()) { 215 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continu [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 492 if (Lex.getCode() == K) { 493 Lex.Lex(); 506 switch (Lex.getCode()) { 544 if (Lex.getCode() != tgtok::Id) { 549 Record *Result = Records.getClass(Lex.getCurStrVal()); 551 std::string Msg("Couldn't find class '" + Lex.getCurStrVal() + "'"); 552 if (MultiClasses[Lex.getCurStrVal()].get()) 554 Lex.getCurStrVal() + "'"); 559 Lex [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
H A D | HeaderIncludes.cpp | 12 #include "clang/Lex/Lexer.h" 45 Lexer Lex(SM.getMainFileID(), SM.getBuffer(SM.getMainFileID()), SM, 49 Lex.LexFromRawLexer(Tok); 50 return GetOffsetAfterSequence(SM, Lex, Tok); 58 Lexer &Lex, StringRef Name, Token &Tok, 60 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && 62 Tok.getRawIdentifier() == Name && !Lex.LexFromRawLexer(Tok) && 66 Lex.LexFromRawLexer(Tok); 70 void skipComments(Lexer &Lex, Token &Tok) { argument 72 if (Lex 57 checkAndConsumeDirectiveWithName( Lexer &Lex, StringRef Name, Token &Tok, llvm::Optional<StringRef> RawIDName = llvm::None) argument 122 checkAndConsumeInclusiveDirective(Lexer &Lex, Token &Tok) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PreprocessorLexer.cpp | 13 #include "clang/Lex/PreprocessorLexer.h" 15 #include "clang/Lex/LexDiagnostic.h" 16 #include "clang/Lex/Preprocessor.h" 17 #include "clang/Lex/Token.h" 38 // Lex the filename. 42 PP->Lex(FilenameTok);
|
H A D | Pragma.cpp | 14 #include "clang/Lex/Pragma.h" 24 #include "clang/Lex/HeaderSearch.h" 25 #include "clang/Lex/LexDiagnostic.h" 26 #include "clang/Lex/Lexer.h" 27 #include "clang/Lex/LiteralSupport.h" 28 #include "clang/Lex/MacroInfo.h" 29 #include "clang/Lex/ModuleLoader.h" 30 #include "clang/Lex/PPCallbacks.h" 31 #include "clang/Lex/Preprocessor.h" 32 #include "clang/Lex/PreprocessorLexe [all...] |
H A D | PPCaching.cpp | 14 #include "clang/Lex/Preprocessor.h" 63 Lex(Result); 110 Lex(CachedTokens.back());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MCAsmParser.cpp | 50 Lex(); 59 Lex(); 67 Lex(); 104 getLexer().Lex(); 111 Lex();
|
H A D | COFFAsmParser.cpp | 296 Lex(); 300 Lex(); 321 Lex(); 334 Lex(); 364 Lex(); 370 Lex(); 380 Lex(); 393 Lex(); 422 Lex(); 434 Lex(); [all...] |
H A D | ELFAsmParser.cpp | 194 Lex(); 198 Lex(); 209 Lex(); 225 Lex(); 233 Lex(); 247 Lex(); 260 Lex(); 263 Lex(); 266 Lex(); 343 Lex(); // Ea [all...] |
H A D | DarwinAsmParser.cpp | 478 Lex(); 516 Lex(); 532 Lex(); 541 Lex(); 578 Lex(); 591 Lex(); 596 Lex(); 625 Lex(); 644 Lex(); 653 Lex(); [all...] |
H A D | MCAsmParserExtension.cpp | 33 Lex(); 42 Lex();
|
H A D | WasmAsmParser.cpp | 77 Lex(); 145 Lex(); 185 Lex(); 198 Lex(); 209 Lex(); 212 Lex(); 240 Lex(); 243 Lex();
|
H A D | COFFMasmParser.cpp | 58 Lex(); 267 Lex(); 280 Lex(); 311 Lex(); 348 Lex(); 351 Lex();
|
H A D | AsmParser.cpp | 227 const AsmToken &Lex() override; 325 /// current token is not set; clients should ensure Lex() is called 826 const AsmToken &AsmParser::Lex() { function in class:AsmParser 838 const AsmToken *tok = &Lexer.Lex(); 844 tok = &Lexer.Lex(); 853 return Lex(); 890 Lex(); 918 // for printing ErrMsg via Lex() only if no (presumably better) parser error 921 Lex(); 1008 Lexer.Lex(); [all...] |
H A D | MasmParser.cpp | 481 const AsmToken &Lex() override; 578 /// current token is not set; clients should ensure Lex() is called 1060 const AsmToken &MasmParser::Lex() { function in class:MasmParser 1072 const AsmToken *tok = &Lexer.Lex(); 1086 tok = &Lexer.Lex(); 1096 tok = &Lexer.Lex(); 1105 return Lex(); 1142 Lex(); 1170 // for printing ErrMsg via Lex() only if no (presumably better) parser error 1173 Lex(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | TokenAnalyzer.cpp | 69 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(), 73 ArrayRef<FormatToken *> Toks(Lex.lex()); 75 UnwrappedLineParser Parser(Style, Lex.getKeywords(), 84 TokenAnnotator Annotator(Style, Lex.getKeywords()); 91 analyze(Annotator, AnnotatedLines, Lex);
|
H A D | FormatTokenLexer.cpp | 1 //===--- FormatTokenLexer.cpp - Lex FormatTokens -------------*- C++ ----*-===// 36 Lex.reset(new Lexer(ID, SourceMgr.getBuffer(ID), SourceMgr, 38 Lex->SetKeepWhitespaceMode(true); 523 const char *Offset = Lex->getBufferLocation(); 525 StringRef Buffer = Lex->getBuffer(); 556 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); 571 Lex->getBufferLocation() - CSharpStringLiteral->TokenText.size(); 580 for (; Offset != Lex->getBuffer().end(); ++Offset) { 583 if (Offset + 1 < Lex->getBuffer().end() && Offset[1] == '"') 592 if (Offset == Lex [all...] |
H A D | FormatTokenLexer.h | 104 std::unique_ptr<Lexer> Lex; member in class:clang::format::FormatTokenLexer
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 16 #include "clang/Lex/Preprocessor.h" 804 PP.Lex(Tok); // pragma kind 821 PP.Lex(Tok); 822 PP.Lex(Tok); 832 PP.Lex(Tok); // ( 851 PP.Lex(Tok); // , 856 PP.Lex(Tok); // long/short 886 PP.Lex(Tok); // Identifier 896 PP.Lex(Tok); // ) 902 PP.Lex(To [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteMacros.cpp | 16 #include "clang/Lex/Preprocessor.h" 105 PP.Lex(PPTok); 118 PP.Lex(PPTok); 159 PP.Lex(PPTok); 198 PP.Lex(PPTok);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmParserExtension.h | 86 const AsmToken &Lex() { return getParser().Lex(); } function in class:llvm::MCAsmParserExtension
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
H A D | MSP430AsmParser.cpp | 320 getLexer().Lex(); // eat register token 365 getLexer().Lex(); // Eat '$' 386 getParser().Lex(); // Consume the EndOfStatement. 413 getLexer().Lex(); // Eat ',' 424 getParser().Lex(); // Consume the EndOfStatement. 476 getLexer().Lex(); // Eat '(' 483 getLexer().Lex(); // Eat ')' 494 getLexer().Lex(); // Eat '&' 507 getLexer().Lex(); // Eat '@' 514 getLexer().Lex(); // Ea [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 371 Parser.Lex(); 373 Parser.Lex(); // Eat high (odd) register and colon 398 Parser.Lex(); // Eat register token. 454 Parser.Lex(); 468 Parser.Lex(); 469 Parser.Lex(); // Eat modifier name and parenthesis 475 Parser.Lex(); // Eat gs modifier name 483 Parser.Lex(); 485 Parser.Lex(); // Eat the sign and parenthesis 495 Parser.Lex(); // Ea [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 342 getParser().Lex(); // Eat identifier token. 357 getLexer().Lex(); 387 getLexer().Lex(); 403 getLexer().Lex(); 429 getLexer().Lex(); 500 getParser().Lex();
|