Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 88) sorted by relevance

1234

/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
89 Lexer::getLocForEndOfToken(TypeBeginLoc, 0, SM, LangOpts); in VisitTypeLoc()
110 Lexer::getLocForEndOfToken(TL.getBeginLoc(), 0, SM, LangOpts); in VisitTypedefTypeLoc()
146 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DBracesAroundStatementsCheck.cpp49 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, Context->getLangOpts()); in forwardSkipWhitespaceAndComments()
80 Lexer::getLocForEndOfToken(Loc, 0, SM, Context->getLangOpts()); in findEndLocation()
171 Lexer::getLocForEndOfToken(CondEndLoc, 0, SM, Context->getLangOpts()); in findRParenLoc()
220 Lexer::getLocForEndOfToken(InitialLoc, 0, SM, Context->getLangOpts()); in checkStmt()
H A DRedundantDeclarationCheck.cpp79 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
H A DImplicitBoolConversionCheck.cpp146 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in fixGenericExprCastToBool()
190 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in fixGenericExprCastFromBool()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousStringCompareCheck.cpp169 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
179 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
H A DBranchCloneCheck.cpp148 Lexer::getLocForEndOfToken(Branches[I]->getEndLoc(), 0, in check()
226 EndLoc = Lexer::getLocForEndOfToken(EndLoc, 0, *Result.SourceManager, in check()
H A DInaccurateEraseCheck.cpp54 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
H A DMisplacedPointerArithmeticInAllocCheck.cpp92 const SourceLocation NewRParen = Lexer::getLocForEndOfToken( in check()
H A DSmartPtrArrayMismatchCheck.cpp112 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DMacroToEnumCheck.cpp201 CurrentFile->LastMacroLocation = Lexer::getLocForEndOfToken( in rememberLastMacroLocation()
421 Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts), &Invalid); in PragmaDirective()
501 SourceLocation NameEnd = Lexer::getLocForEndOfToken( in fixEnumMacro()
505 SourceLocation ValueEnd = Lexer::getLocForEndOfToken( in fixEnumMacro()
512 SourceLocation End = Lexer::getLocForEndOfToken( in fixEnumMacro()
H A DUseEqualsDeleteCheck.cpp57 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
H A DUseTrailingReturnTypeCheck.cpp132 return Lexer::getLocForEndOfToken(ExceptionSpecRange.getEnd(), 0, SM, in findTrailingReturnTypeSourceLocation()
142 Lexer::getLocForEndOfToken(ClosingParen, 0, SM, LangOpts); in findTrailingReturnTypeSourceLocation()
477 Lexer::getLocForEndOfToken(ReturnTypeCVRange.getEnd(), 0, SM, LangOpts); in check()
H A DUseDefaultMemberInitCheck.cpp261 Lexer::getLocForEndOfToken(Field->getSourceRange().getEnd(), 0, in checkDefaultInit()
263 SourceLocation LParenEnd = Lexer::getLocForEndOfToken( in checkDefaultInit()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DPreferMemberInitializerCheck.cpp191 Lexer::getLocForEndOfToken(Field->getSourceRange().getEnd(), 0, in check()
259 InsertPos = Lexer::getLocForEndOfToken( in check()
266 InsertPos = Lexer::getLocForEndOfToken( in check()
H A DProTypeCstyleCastCheck.cpp80 Lexer::getLocForEndOfToken(SubExpr->getEndLoc(), 0, in check()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransformActions.cpp72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
177 static SourceLocation getLocForEndOfToken(SourceLocation loc,
443 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
476 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace()
591 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl
600 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/
H A DDefaultArgumentsDeclarationsCheck.cpp44 Lexer::getLocForEndOfToken(StartLocation, 0, *Result.SourceManager, in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DDurationDivisionCheck.cpp49 Lexer::getLocForEndOfToken( in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DTwineLocalCheck.cpp51 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DUsingInserter.cpp42 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in createUsingDeclaration()
H A DNamespaceAliaser.cpp72 Lexer::getLocForEndOfToken(Function->getBody()->getBeginLoc(), 0, in createAlias()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h422 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
433 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
/llvm-project-15.0.7/lldb/tools/lldb-instr/
H A DInstrument.cpp64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecCheck.cpp66 Lexer::getLocForEndOfToken(SM.getFileLoc(FlagArg->getEndLoc()), 0, SM, in insertMacroFlag()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp291 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion()
497 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning()
509 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
831 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()

1234