Home
last modified time | relevance | path

Searched defs:Lex (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp47 Lexer Lex(SM.getMainFileID(), SM.getBufferOrFake(SM.getMainFileID()), SM, in getOffsetAfterTokenSequence() local
60 Lexer &Lex, StringRef Name, Token &Tok, in checkAndConsumeDirectiveWithName() argument
72 void skipComments(Lexer &Lex, Token &Tok) { in skipComments() argument
93 __anon61eb25ae0302(const SourceManager &SM, Lexer &Lex, Token Tok) getOffsetAfterHeaderGuardsAndComments() argument
102 __anon61eb25ae0402(const SourceManager &SM, Lexer &Lex, Token Tok) getOffsetAfterHeaderGuardsAndComments() argument
113 __anon61eb25ae0502(const SourceManager &SM, Lexer &Lex, Token Tok) getOffsetAfterHeaderGuardsAndComments() argument
125 checkAndConsumeInclusiveDirective(Lexer & Lex,Token & Tok) checkAndConsumeInclusiveDirective() argument
163 __anon61eb25ae0702(const SourceManager &SM, Lexer &Lex, Token Tok) getMaxHeaderInsertionOffset() argument
[all...]
/llvm-project/clang/unittests/Format/
H A DTestLexer.h67 FormatTokenLexer Lex = getNewLexer(Code); in lex() local
73 FormatTokenLexer Lex = getNewLexer(Code); in annotate() local
H A DMacroCallReconstructorTest.cpp28 Expansion(TestLexer &Lex, MacroExpander &Macros) : Lex(Lex), Macros(Macros) {} in Expansion() argument
85 TestLexer &Lex; global() member in clang::format::__anon59adf30c0111::Expansion
128 TestLexer &Lex; global() member
185 TestLexer Lex; global() member in clang::format::__anon59adf30c0111::MacroCallReconstructorTest
[all...]
H A DMacroExpanderTest.cpp77 TestLexer Lex; member in clang::format::__anon20ba688a0111::MacroExpanderTest
/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.h117 std::unique_ptr<Lexer> Lex; variable
H A DTokenAnalyzer.cpp105 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(), in process() local
H A DMacroExpander.cpp138 FormatTokenLexer Lex(SourceMgr, FID, 0, Style, encoding::Encoding_UTF8, in parseDefinition() local
H A DIntegerLiteralSeparatorFixer.cpp83 Lexer Lex(ID, SourceMgr.getBufferOrFake(ID), SourceMgr, LangOpts); in process() local
/llvm-project/llvm/include/llvm/AsmParser/
H A DLLLexer.h52 lltok::Kind Lex() { Lex() function
H A DLLParser.h111 LLLexer Lex; global() variable
[all...]
/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h85 const AsmToken &Lex() { return getParser().Lex(); } in Lex() function
H A DMCAsmLexer.h79 const AsmToken &Lex() { in Lex() function
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DExplicitConstructorCheck.cpp45 Lexer Lex(StartLoc, LangOpts, StartChar, StartChar, Buf.end()); in findToken() local
/llvm-project/clang-tools-extra/pseudo/unittests/
H A DTokenTest.cpp
/llvm-project/llvm/lib/TableGen/
H A DTGParser.h143 TGLexer Lex; variable
182 : Lex(SM, Macros), CurMultiClass(nullptr), Records(records), in Lex() function
H A DTGLexer.h215 tgtok::TokKind Lex() { in Lex() function
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DModernizeModuleTest.cpp27 Lexer Lex(SourceLocation{}, LangOpts, Text, Text, Text + std::strlen(Text)); in tokenify() local
/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp358 Lexer Lex; global() member in llvm::object::Parser
/llvm-project/clang-tools-extra/clangd/
H A DFormat.cpp29 Lexer Lex(FID, SM.getBufferOrFake(FID), SM, LangOpts); in closeBrackets() local
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DMacroToEnumCheck.cpp28 Lexer Lex(Loc, Options, Buffer.c_str(), Buffer.c_str(), in hasOnlyComments() local
265 Lexer Lex(CharRange.getBegin(), LangOpts, Text.data(), Text.data(), in checkCondition() local
/llvm-project/clang/tools/clang-refactor/
H A DTestSupport.cpp318 Lexer Lex(SourceLocation::getFromRawEncoding(0), LangOpts, Source.begin(), in findTestSelectionRanges() local
/llvm-project/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp115 std::unique_ptr<Lexer> Lex = getLexerStartingFromLoc(Loc, SM, LangOpts); in getStartOfNextLine() local
649 std::unique_ptr<Lexer> Lex = getLocAfterNamespaceLBrace() local
[all...]
/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp622 bool TokenLexer::Lex(Token &Tok) { Lex() function in TokenLexer
[all...]
H A DPreprocessor.cpp869 void Preprocessor::Lex(Token &Result) { Lex() function in Preprocessor
[all...]
/llvm-project/clang/unittests/Lex/
H A DLexerTest.cpp72 std::vector<Token> Lex(StringRef Source) { Lex() function in __anonaa1c73410111::LexerTest
[all...]

12