Home
last modified time | relevance | path

Searched refs:findNextToken (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTestingSupport.cpp41 Lexer::findNextToken(Stmt->getEndLoc(), SourceManager, LangOptions); in isAnnotationDirectlyAfterStatement()
48 NextToken = Lexer::findNextToken(NextToken->getEndLoc(), SourceManager, in isAnnotationDirectlyAfterStatement()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DRedundantBranchConditionCheck.cpp139 Lexer::findNextToken(OtherSide->getEndLoc(), *Result.SourceManager, in check()
171 Lexer::findNextToken(CondOp->getLHS()->getEndLoc(), in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DLexerUtils.cpp85 CurrentToken = Lexer::findNextToken(Start, SM, LangOpts); in findNextTokenSkippingComments()
100 llvm::Optional<Token> Tok = Lexer::findNextToken(Loc, SM, LangOpts); in rangeContainsExpansionsOrDirectives()
H A DLexerUtils.h70 Optional<Token> CurrentToken = Lexer::findNextToken(Start, SM, LangOpts); in findNextAnyTokenKind()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DReplaceDisallowCopyAndAssignMacroCheck.cpp63 llvm::Optional<Token> Next = Lexer::findNextToken( in shouldAppendSemi()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DPreferMemberInitializerCheck.cpp195 if (auto NextToken = Lexer::findNextToken( in check()
284 if (auto NextToken = Lexer::findNextToken( in check()
H A DVirtualClassDestructorCheck.cpp64 Optional<Token> NextToken = Lexer::findNextToken(VirtualEndLoc, SM, LangOpts); in getVirtualKeywordRange()
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp103 Optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts); in compute()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DRemoveUsingNamespace.cpp76 Lexer::findNextToken(D->getEndLoc(), SM, Ctx.getLangOpts()); in removeUsingDirective()
H A DDefineInline.cpp61 auto NextTok = Lexer::findNextToken(CurLoc, SM, LangOpts); in getSemicolonForDecl()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DIncludeFixer.cpp348 while (auto CCTok = Lexer::findNextToken(NextLoc, SM, LangOpts)) { in qualifiedByUnresolved()
351 auto IDTok = Lexer::findNextToken(CCTok->getLocation(), SM, LangOpts); in qualifiedByUnresolved()
H A DCodeComplete.cpp1463 const auto NextToken = Lexer::findNextToken( in run()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h555 static Optional<Token> findNextToken(SourceLocation Loc,
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp231 Lexer::findNextToken( in Report()
/llvm-project-15.0.7/clang/unittests/Lex/
H A DLexerTest.cpp614 auto T = Lexer::findNextToken(Loc, SourceMgr, LangOpts); in TEST_F()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp1259 Optional<Token> Lexer::findNextToken(SourceLocation Loc, in findNextToken() function in Lexer
1295 Optional<Token> Tok = findNextToken(Loc, SM, LangOpts); in findLocationAfterToken()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp1684 Lexer::findNextToken(FirstLSquare.getLocation(), SM, LangOpts); in ProhibitCXX11Attributes()