Home
last modified time | relevance | path

Searched refs:LexFromRawLexer (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp51 Lex.LexFromRawLexer(Tok); in getOffsetAfterTokenSequence()
62 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName()
64 Tok.getRawIdentifier() == Name && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName()
68 Lex.LexFromRawLexer(Tok); in checkAndConsumeDirectiveWithName()
74 if (Lex.LexFromRawLexer(Tok)) in skipComments()
127 Lex.LexFromRawLexer(Tok); in checkAndConsumeInclusiveDirective()
130 if (Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeInclusiveDirective()
132 if (Lex.LexFromRawLexer(Tok)) in checkAndConsumeInclusiveDirective()
137 while (!Lex.LexFromRawLexer(Tok) && Tok.isNot(tok::greater)) { in checkAndConsumeInclusiveDirective()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransforms.cpp154 lexer.LexFromRawLexer(tok); in findSemiAfterLocation()
402 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
404 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
408 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
416 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
432 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
440 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
483 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
485 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
489 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp325 DirectiveLex.LexFromRawLexer(DirectiveToken); in CommentOutDirective()
342 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
383 RawLex.LexFromRawLexer(RawToken); in Process()
391 RawLex.LexFromRawLexer(RawToken); in Process()
457 RawLex.LexFromRawLexer(RawToken); in Process()
490 RawLex.LexFromRawLexer(RawToken); in Process()
506 RawLex.LexFromRawLexer(RawToken); in Process()
H A DRewriteMacros.cpp75 RawLex.LexFromRawLexer(RawTok); in LexRawTokensFromMainFile()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DStaticAssertCheck.cpp154 if (Lexer.LexFromRawLexer(Token) || Lexer.LexFromRawLexer(Token) || in getLastParenLoc()
159 while (ParenCount && !Lexer.LexFromRawLexer(Token)) { in getLastParenLoc()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DTokenRewriter.cpp39 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
50 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
H A DHTMLRewrite.cpp460 L.LexFromRawLexer(Tok); in SyntaxHighlight()
512 L.LexFromRawLexer(Tok); in SyntaxHighlight()
515 L.LexFromRawLexer(Tok); in SyntaxHighlight()
527 L.LexFromRawLexer(Tok); in SyntaxHighlight()
547 L.LexFromRawLexer(Tok); in HighlightMacros()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DExplicitConstructorCheck.cpp51 Lex.LexFromRawLexer(Tok); in findToken()
54 Lex.LexFromRawLexer(NextTok); in findToken()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DLex.cpp34 for (Lexer.LexFromRawLexer(CT); CT.getKind() != clang::tok::eof; in lex()
35 Lexer.LexFromRawLexer(CT)) { in lex()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp178 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
191 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
216 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousSemicolonCheck.cpp61 if (Lexer.LexFromRawLexer(Token)) in check()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DModernizeModuleTest.cpp32 End = Lex.LexFromRawLexer(Tok); in tokenify()
/llvm-project-15.0.7/clang/tools/clang-refactor/
H A DTestSupport.cpp321 for (Lex.LexFromRawLexer(Tok); Tok.isNot(tok::eof); in findTestSelectionRanges()
322 Lex.LexFromRawLexer(Tok)) { in findTestSelectionRanges()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DIssueHash.cpp162 while (!Lexer.LexFromRawLexer(Token) && NextStart < 2) { in NormalizeLine()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendAction.cpp261 if (RawLexer->LexFromRawLexer(T) || T.getKind() != tok::hash) in ReadOriginalFileName()
263 if (RawLexer->LexFromRawLexer(T) || T.isAtStartOfLine() || in ReadOriginalFileName()
276 RawLexer->LexFromRawLexer(T); in ReadOriginalFileName()
283 RawLexer->LexFromRawLexer(T); in ReadOriginalFileName()
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp680 for (lexer.LexFromRawLexer(token); !token.is(clang::tok::eof); in ExtractTokens()
681 lexer.LexFromRawLexer(token)) { in ExtractTokens()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp151 while (!Lexer.LexFromRawLexer(T)) { in findTrailingReturnTypeSourceLocation()
233 while (!Lexer.LexFromRawLexer(T) && in classifyTokensBeforeFunctionName()
H A DMacroToEnumCheck.cpp34 while (!Lex.LexFromRawLexer(Tok)) { in hasOnlyComments()
272 End = Lex.LexFromRawLexer(Tok); in checkCondition()
H A DUseOverrideCheck.cpp58 while (!RawLexer.LexFromRawLexer(Tok)) { in parseTokens()
H A DRedundantVoidArgCheck.cpp156 while (!PrototypeLexer.LexFromRawLexer(ProtoToken)) { in removeVoidArgumentTokens()
/llvm-project-15.0.7/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp197 exit = lex.LexFromRawLexer(token); in Highlight()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DLexerUtils.cpp129 while (!RawLexer.LexFromRawLexer(Tok) && in getQualifyingToken()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h236 bool LexFromRawLexer(Token &Result) { in LexFromRawLexer() function
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp274 exit = lex.LexFromRawLexer(token); in TokenVerifier()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp32 while (!Lex.LexFromRawLexer(Tok)) { in closeBrackets()

12