Home
last modified time | relevance | path

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

123

/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp302 DirectiveLex.LexFromRawLexer(DirectiveToken); in CommentOutDirective()
319 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
333 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
337 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
345 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
364 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
380 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
431 RawLex.LexFromRawLexer(RawToken); in Process()
439 RawLex.LexFromRawLexer(RawToken); in Process()
498 RawLex.LexFromRawLexer(RawToken); in Process()
[all …]
DRewriteMacros.cpp76 RawLex.LexFromRawLexer(RawTok); in LexRawTokensFromMainFile()
/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp50 Lex.LexFromRawLexer(Tok); in getOffsetAfterTokenSequence()
61 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName()
63 Tok.getRawIdentifier() == Name && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName()
67 Lex.LexFromRawLexer(Tok); in checkAndConsumeDirectiveWithName()
73 if (Lex.LexFromRawLexer(Tok)) in skipComments()
126 Lex.LexFromRawLexer(Tok); in checkAndConsumeInclusiveDirective()
129 if (Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeInclusiveDirective()
131 if (Lex.LexFromRawLexer(Tok)) in checkAndConsumeInclusiveDirective()
136 while (!Lex.LexFromRawLexer(Tok) && Tok.isNot(tok::greater)) { in checkAndConsumeInclusiveDirective()
/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.cpp156 lexer.LexFromRawLexer(tok); in findSemiAfterLocation()
404 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
406 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
410 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
418 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
434 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
442 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
485 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
487 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
491 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
[all …]
/external/clang/lib/ARCMigrate/
DTransforms.cpp161 lexer.LexFromRawLexer(tok); in findSemiAfterLocation()
408 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
410 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
414 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
422 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
438 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
446 lexer.LexFromRawLexer(tok); in rewritePropertyAttribute()
489 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
491 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
495 lexer.LexFromRawLexer(tok); in addPropertyAttribute()
[all …]
/external/llvm-project/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp346 DirectiveLex.LexFromRawLexer(DirectiveToken); in CommentOutDirective()
363 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
405 RawLex.LexFromRawLexer(RawToken); in Process()
413 RawLex.LexFromRawLexer(RawToken); in Process()
479 RawLex.LexFromRawLexer(RawToken); in Process()
512 RawLex.LexFromRawLexer(RawToken); in Process()
528 RawLex.LexFromRawLexer(RawToken); in Process()
DRewriteMacros.cpp75 RawLex.LexFromRawLexer(RawTok); in LexRawTokensFromMainFile()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp372 L.LexFromRawLexer(Tok); in SyntaxHighlight()
423 L.LexFromRawLexer(Tok); in SyntaxHighlight()
426 L.LexFromRawLexer(Tok); in SyntaxHighlight()
438 L.LexFromRawLexer(Tok); in SyntaxHighlight()
458 L.LexFromRawLexer(Tok); in HighlightMacros()
DTokenRewriter.cpp34 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
45 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp155 if (Lexer.LexFromRawLexer(Token) || Lexer.LexFromRawLexer(Token) || in getLastParenLoc()
160 while (ParenCount && !Lexer.LexFromRawLexer(Token)) { in getLastParenLoc()
/external/llvm-project/clang/lib/Rewrite/
DTokenRewriter.cpp39 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
50 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
DHTMLRewrite.cpp459 L.LexFromRawLexer(Tok); in SyntaxHighlight()
511 L.LexFromRawLexer(Tok); in SyntaxHighlight()
514 L.LexFromRawLexer(Tok); in SyntaxHighlight()
526 L.LexFromRawLexer(Tok); in SyntaxHighlight()
546 L.LexFromRawLexer(Tok); in HighlightMacros()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp51 Lex.LexFromRawLexer(Tok); in FindToken()
54 Lex.LexFromRawLexer(NextTok); in FindToken()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp178 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
191 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
216 Lexer->LexFromRawLexer(Tok); in getEntityEndLoc()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousSemicolonCheck.cpp61 if (Lexer.LexFromRawLexer(Token)) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseTrailingReturnTypeCheck.cpp145 while (!Lexer.LexFromRawLexer(T)) { in findTrailingReturnTypeSourceLocation()
227 while (!Lexer.LexFromRawLexer(T) && in classifyTokensBeforeFunctionName()
304 while (!Lexer.LexFromRawLexer(T) && in findReturnTypeAndCVSourceRange()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DAvoidConstParamsInDecls.cpp62 while (!RawLexer.LexFromRawLexer(Tok)) { in ConstTok()
/external/clang/lib/Frontend/
DCacheTokens.cpp309 L.LexFromRawLexer(Tok); in LexTokens()
340 L.LexFromRawLexer(NextTok); in LexTokens()
411 L.LexFromRawLexer(Tok); in LexTokens()
/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp321 for (Lex.LexFromRawLexer(Tok); Tok.isNot(tok::eof); in findTestSelectionRanges()
322 Lex.LexFromRawLexer(Tok)) { in findTestSelectionRanges()
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp162 while (!Lexer.LexFromRawLexer(Token) && NextStart < 2) { in NormalizeLine()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp128 while (!RawLexer.LexFromRawLexer(Tok) && in getQualifyingToken()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp155 while (!Lexer.LexFromRawLexer(Token) && NextStart < 2) { in NormalizeLine()
/external/llvm-project/clang/lib/Frontend/
DFrontendAction.cpp249 if (RawLexer->LexFromRawLexer(T) || T.getKind() != tok::hash) in ReadOriginalFileName()
251 if (RawLexer->LexFromRawLexer(T) || T.isAtStartOfLine() || in ReadOriginalFileName()
264 RawLexer->LexFromRawLexer(T); in ReadOriginalFileName()
271 RawLexer->LexFromRawLexer(T); in ReadOriginalFileName()
/external/llvm-project/lldb/source/Plugins/Language/ClangCommon/
DClangHighlighter.cpp197 exit = lex.LexFromRawLexer(token); in Highlight()
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.cpp680 for (lexer.LexFromRawLexer(token); !token.is(clang::tok::eof); in ExtractTokens()
681 lexer.LexFromRawLexer(token)) { in ExtractTokens()

123