HomeSort by relevance Sort by last modified time
    Searched defs:Lex (Results 1 - 25 of 29) sorted by null

1 2

  /external/swiftshader/third_party/LLVM/lib/TableGen/
TGParser.h 45 TGLexer Lex;
57 Lex(SrcMgr), CurMultiClass(0), Records(records) {}
68 return Error(Lex.getLoc(), Msg);
71 return Lex.getDependencies();
TGLexer.h 82 tgtok::TokKind Lex() {
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 81 const AsmToken &Lex() { return getParser().Lex(); }
MCAsmLexer.h 105 /// is safe to store across calls to Lex().
109 // also not generally what we want (it is nicer for recovery etc. to lex 123br
156 const AsmToken &Lex() {
  /external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
MCAsmParserExtension.h 69 const AsmToken &Lex() { return getParser().Lex(); }
MCAsmLexer.h 95 /// is safe to store across calls to Lex().
99 // also not generally what we want (it is nicer for recovery etc. to lex 123br
141 /// Lex - Consume the next token from the input stream and return it.
145 const AsmToken &Lex() {
  /external/swiftshader/third_party/LLVM/include/llvm/MC/
MCTargetAsmLexer.h 57 /// Lex - Consume the next token from the input stream and return it.
58 const AsmToken &Lex() {
  /external/clang/lib/Format/
FormatTokenLexer.h 34 ArrayRef<FormatToken *> lex();
71 std::unique_ptr<Lexer> Lex;
  /external/llvm/lib/AsmParser/
LLLexer.h 49 lltok::Kind Lex() {
LLParser.h 92 LLLexer Lex;
145 : Context(M->getContext()), Lex(F, SM, Err, M->getContext()), M(M),
159 return Lex.Error(L, Msg);
162 return Error(Lex.getLoc(), Msg);
182 if (Lex.getKind() != T) return false;
183 Lex.Lex();
190 switch (Lex.getKind()) {
191 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue
    [all...]
  /external/swiftshader/third_party/LLVM/lib/AsmParser/
LLLexer.h 51 lltok::Kind Lex() {
LLParser.h 89 LLLexer Lex;
128 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
137 return Lex.Error(L, Msg);
140 return Error(Lex.getLoc(), Msg);
152 if (Lex.getKind() != T) return false;
153 Lex.Lex();
157 if (Lex.getKind() != T) {
161 *Loc = Lex.getLoc();
162 Lex.Lex()
    [all...]
  /external/clang/unittests/Lex/
LexerTest.cpp 1 //===- unittests/Lex/LexerTest.cpp ------ Lexer tests ---------------------===//
10 #include "clang/Lex/Lexer.h"
18 #include "clang/Lex/HeaderSearch.h"
19 #include "clang/Lex/HeaderSearchOptions.h"
20 #include "clang/Lex/ModuleLoader.h"
21 #include "clang/Lex/Preprocessor.h"
22 #include "clang/Lex/PreprocessorOptions.h"
61 std::vector<Token> Lex(StringRef Source) {
78 PP.Lex(tok);
89 auto toks = Lex(Source)
    [all...]
  /external/llvm/lib/TableGen/
TGParser.h 56 TGLexer Lex;
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
TGLexer.h 91 tgtok::TokKind Lex() {
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 70 MarkupLexer &Lex;
73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {}
125 StringRef::const_iterator Start = Lex.getPosition();
127 while(Lex.getNextChar() != ':') {
129 if (Lex.isEOF())
132 StringRef RawTag(Start, Lex.getPosition() - Start - 1);
153 MarkupLexer Lex(InputSource);
154 MarkupParser Parser(Lex, SrcMgr)
    [all...]
  /external/clang/lib/Lex/
TokenLexer.cpp 1 //===--- TokenLexer.cpp - Lex from a token stream -------------------------===//
14 #include "clang/Lex/TokenLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/MacroArgs.h"
18 #include "clang/Lex/MacroInfo.h"
19 #include "clang/Lex/Preprocessor.h"
417 /// Lex - Lex and return a token from this macro stream.
419 bool TokenLexer::Lex(Token &Tok) {
570 // scratch buffer where we can lex it
    [all...]
Preprocessor.cpp 28 #include "clang/Lex/Preprocessor.h"
33 #include "clang/Lex/CodeCompletionHandler.h"
34 #include "clang/Lex/ExternalPreprocessorSource.h"
35 #include "clang/Lex/HeaderSearch.h"
36 #include "clang/Lex/LexDiagnostic.h"
37 #include "clang/Lex/LiteralSupport.h"
38 #include "clang/Lex/MacroArgs.h"
39 #include "clang/Lex/MacroInfo.h"
40 #include "clang/Lex/ModuleLoader.h"
41 #include "clang/Lex/PTHManager.h
    [all...]
PTHLexer.cpp 1 //===--- PTHLexer.cpp - Lex from a token stream ---------------------------===//
14 #include "clang/Lex/PTHLexer.h"
19 #include "clang/Lex/LexDiagnostic.h"
20 #include "clang/Lex/PTHManager.h"
21 #include "clang/Lex/Preprocessor.h"
22 #include "clang/Lex/Token.h"
45 bool PTHLexer::Lex(Token& Tok) {
Lexer.cpp 14 #include "clang/Lex/Lexer.h"
18 #include "clang/Lex/CodeCompletionHandler.h"
19 #include "clang/Lex/LexDiagnostic.h"
20 #include "clang/Lex/LiteralSupport.h"
21 #include "clang/Lex/Preprocessor.h"
97 // to quickly lex the tokens of the buffer, e.g. when handling a "#if 0" block
160 /// Preprocessor::Lex virtual. Given that, we could just dump in a magic lexer
170 // Create the lexer as if we were going to lex the file normally.
176 // just lex the subsection of the file that we want. This is lexing from a
303 // Lex from the start of the given location
    [all...]
  /external/javassist/src/main/javassist/compiler/
Lex.java 27 public class Lex implements TokenId {
39 public Lex(String s) {
  /external/swiftshader/third_party/LLVM/lib/MC/MCParser/
AsmParser.cpp 150 const AsmToken &Lex();
184 /// current token is not set; clients should ensure Lex() is called
435 const AsmToken &AsmParser::Lex() {
436 const AsmToken *tok = &Lexer.Lex();
444 tok = &Lexer.Lex();
460 Lex();
532 Lex();
536 Lex();
544 Lex();
560 Lex();
    [all...]
  /toolchain/binutils/binutils-2.25/gold/
script.cc 199 class Lex
217 Lex(const char* input_string, size_t input_length, int parsing_token)
233 Lex::Mode
243 Lex(const Lex&);
244 Lex& operator=(const Lex&);
303 { return Lex::can_start_number(*c) ? c + 1 : NULL; }
338 const char* (Lex::*can_continue_fn)(const char*),
369 Lex::read_file(Input_file* input_file, std::string* contents
    [all...]
  /external/clang/lib/Serialization/
ASTReader.cpp 36 #include "clang/Lex/HeaderSearch.h"
37 #include "clang/Lex/HeaderSearchOptions.h"
38 #include "clang/Lex/MacroInfo.h"
39 #include "clang/Lex/PreprocessingRecord.h"
40 #include "clang/Lex/Preprocessor.h"
41 #include "clang/Lex/PreprocessorOptions.h"
    [all...]
  /external/llvm/lib/MC/MCParser/
AsmParser.cpp 226 const AsmToken &Lex() override;
262 Lexer.Lex();
267 Lex();
278 Lex();
286 Lex();
356 /// current token is not set; clients should ensure Lex() is called
662 const AsmToken &AsmParser::Lex() {
674 const AsmToken *tok = &Lexer.Lex();
680 tok = &Lexer.Lex();
689 return Lex();
    [all...]

Completed in 923 milliseconds

1 2