HomeSort by: relevance | last modified time | path
    Searched refs:Lex (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
TGParser.cpp 523 if (Lex.getCode() == K) {
524 Lex.Lex();
537 switch (Lex.getCode()) {
575 if (Lex.getCode() != tgtok::Id) {
580 Record *Result = Records.getClass(Lex.getCurStrVal());
582 std::string Msg("Couldn't find class '" + Lex.getCurStrVal() + "'");
583 if (MultiClasses[Lex.getCurStrVal()].get())
585 Lex.getCurStrVal() + "'");
590 Lex.Lex()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLParser.cpp 66 Lex.Lex();
70 Lex.getLoc(),
88 Lex.Lex();
93 if (Lex.getKind() != lltok::Eof)
94 return error(Lex.getLoc(), "expected end of string");
101 Lex.Lex();
104 SMLoc Start = Lex.getLoc()
    [all...]
  /src/external/mit/isl/dist/interface/
set_lang_defaults_arg4.h 4 #include <clang/Lex/PreprocessorOptions.h>
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Inclusions/
HeaderIncludes.cpp 12 #include "clang/Lex/Lexer.h"
46 Lexer Lex(SM.getMainFileID(), SM.getBufferOrFake(SM.getMainFileID()), SM,
50 Lex.LexFromRawLexer(Tok);
51 return GetOffsetAfterSequence(SM, Lex, Tok);
59 Lexer &Lex, StringRef Name, Token &Tok,
61 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) &&
63 Tok.getRawIdentifier() == Name && !Lex.LexFromRawLexer(Tok) &&
67 Lex.LexFromRawLexer(Tok);
71 void skipComments(Lexer &Lex, Token &Tok) {
73 if (Lex.LexFromRawLexer(Tok)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
MCAsmParser.cpp 50 Lex();
57 Lex();
66 Lex();
74 Lex();
111 getLexer().Lex();
118 Lex();
COFFAsmParser.cpp 298 Lex();
302 Lex();
323 Lex();
336 Lex();
366 Lex();
372 Lex();
382 Lex();
395 Lex();
424 Lex();
436 Lex();
    [all...]
WasmAsmParser.cpp 77 Lex();
119 Lex();
122 Lex();
127 Lex();
170 Lex();
230 Lex();
247 Lex();
258 Lex();
261 Lex();
289 Lex();
    [all...]
ELFAsmParser.cpp 200 Lex();
204 Lex();
215 Lex();
231 Lex();
239 Lex();
253 Lex();
266 Lex();
269 Lex();
272 Lex();
352 Lex(); // Eat the #
    [all...]
DarwinAsmParser.cpp 479 Lex();
517 Lex();
533 Lex();
542 Lex();
579 Lex();
592 Lex();
597 Lex();
626 Lex();
645 Lex();
654 Lex();
    [all...]
MCAsmParserExtension.cpp 33 Lex();
42 Lex();
COFFMasmParser.cpp 63 Lex();
246 Lex();
259 Lex();
290 Lex();
327 Lex();
330 Lex();
344 Lex();
AsmParser.cpp 242 const AsmToken &Lex() override;
246 // When parsing MS inline asm, we must lex 0b1101 and 0ABCH as binary and
343 /// current token is not set; clients should ensure Lex() is called
720 Lexer.Lex();
886 const AsmToken &AsmParser::Lex() {
898 const AsmToken *tok = &Lexer.Lex();
904 tok = &Lexer.Lex();
913 return Lex();
952 Lex();
982 // for printing ErrMsg via Lex() only if no (presumably better) parser erro
    [all...]
MasmParser.cpp 492 const AsmToken &Lex() override;
496 // When parsing MS inline asm, we must lex 0b1101 and 0ABCH as binary and
606 /// current token is not set; clients should ensure Lex() is called
1110 const AsmToken &MasmParser::Lex() {
1122 const AsmToken *tok = &Lexer.Lex();
1140 tok = &Lexer.Lex();
1144 tok = &Lexer.Lex();
1147 tok = &Lexer.Lex();
1159 tok = &Lexer.Lex();
1166 Lexer.Lex();
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Lex/
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"
30 /// After the preprocessor has parsed a \#include, lex and
38 // Lex the filename.
42 PP->Lex(FilenameTok);
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/PreprocessorLexer.h
140 void lex() { function in struct:__anon3071::TokenCollector
    [all...]
PPCaching.cpp 14 #include "clang/Lex/Preprocessor.h"
20 // make the Preprocessor re-lex the same tokens.
38 // Make Preprocessor re-lex the tokens that were lexed since
63 Lex(Result);
84 // to cache tokens while inside a nested lex action. The cached tokens would
85 // be retained after returning to the enclosing lex action and, at best,
88 "entered caching lex mode while lexing something else");
99 assert(CurLexerKind != CLK_CachingLexer && "already in caching lex mode");
110 Lex(CachedTokens.back());
  /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
LLParser.h 89 LLLexer Lex;
166 : Context(Context), Lex(F, SM, Err, Context), M(M), Index(Index),
180 bool error(LocTy L, const Twine &Msg) const { return Lex.Error(L, Msg); }
181 bool tokError(const Twine &Msg) const { return error(Lex.getLoc(), Msg); }
201 if (Lex.getKind() != T) return false;
202 Lex.Lex();
209 switch (Lex.getKind()) {
210 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continue
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParsePragma.cpp 16 #include "clang/Lex/Preprocessor.h"
17 #include "clang/Lex/Token.h"
837 PP.Lex(Tok); // pragma kind
840 // because lex shouldn't emit the annotation token for unrecognized pragmas.
854 PP.Lex(Tok);
855 PP.Lex(Tok);
865 PP.Lex(Tok); // (
884 PP.Lex(Tok); // ,
889 PP.Lex(Tok); // long/short
919 PP.Lex(Tok); // Identifie
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Format/
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);
FormatTokenLexer.cpp 1 //===--- FormatTokenLexer.cpp - Lex FormatTokens -------------*- C++ ----*-===//
36 Lex.reset(new Lexer(ID, SourceMgr.getBufferOrFake(ID), SourceMgr,
38 Lex->SetKeepWhitespaceMode(true);
61 ArrayRef<FormatToken *> FormatTokenLexer::lex() { function in class:clang::format::FormatTokenLexer
519 // 'Manually' lex ahead in the current file buffer.
520 const char *Offset = Lex->getBufferLocation();
522 StringRef Buffer = Lex->getBuffer();
553 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset)));
568 Lex->getBufferLocation() - CSharpStringLiteral->TokenText.size();
577 for (; Offset != Lex->getBuffer().end(); ++Offset)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteMacros.cpp 16 #include "clang/Lex/Preprocessor.h"
65 // Create a lexer to lex all the tokens of the main file in raw mode. Even
105 PP.Lex(PPTok);
118 PP.Lex(PPTok);
159 PP.Lex(PPTok);
198 PP.Lex(PPTok);
  /src/external/apache2/llvm/lib/libclangLex/
Makefile 7 .PATH: ${CLANG_SRCDIR}/lib/Lex
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 86 const AsmToken &Lex() { return getParser().Lex(); }
  /src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
CSKYAsmParser.cpp 403 getParser().Lex(); // Eat identifier token.
424 getLexer().Lex();
437 auto Tok = getParser().Lex(); // Eat '('
450 getParser().Lex(); // Eat ','
460 getParser().Lex(); // Eat '<<'
479 getParser().Lex(); // Eat ')'
578 getLexer().Lex(); // Eat '['.
590 getLexer().Lex(); // Eat ']'.
615 getLexer().Lex();
628 getParser().Lex(); // Consume the EndOfStatement
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
MSP430AsmParser.cpp 319 getLexer().Lex(); // eat register token
364 getLexer().Lex(); // Eat '$'
385 getParser().Lex(); // Consume the EndOfStatement.
412 getLexer().Lex(); // Eat ','
423 getParser().Lex(); // Consume the EndOfStatement.
475 getLexer().Lex(); // Eat '('
482 getLexer().Lex(); // Eat ')'
493 getLexer().Lex(); // Eat '&'
506 getLexer().Lex(); // Eat '@'
513 getLexer().Lex(); // Eat '+
    [all...]

Completed in 37 milliseconds

1 2 3 4