Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Rewrite/
H A DRewriter.cpp170 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
209 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
220 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
H A DHTMLRewrite.cpp45 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DRawStringLiteralCheck.cpp133 Lexer::MeasureTokenLength(Literal->getBeginLoc(), in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DVirtualClassDestructorCheck.cpp60 Lexer::MeasureTokenLength(VirtualBeginSpellingLoc, SM, LangOpts)); in getVirtualKeywordRange()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DTextDiagnostic.cpp883 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1013 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1338 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
H A DSerializedDiagnosticPrinter.cpp368 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp67 Var->getTypeSpecEndLoc().getLocWithOffset(Lexer::MeasureTokenLength( in getTypeSpecifierLocation()
H A DElseAfterReturnCheck.cpp123 return Lexer::MeasureTokenLength(Loc, Context.getSourceManager(), in removeElseAndBrackets()
/llvm-project-15.0.7/clang/tools/arcmt-test/
H A Darcmt-test.cpp335 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h371 static unsigned MeasureTokenLength(SourceLocation Loc,
/llvm-project-15.0.7/clang/lib/Edit/
H A DCommit.cpp256 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp193 Lexer::MeasureTokenLength(R.getEnd(), SM, LO)); in createTextRegion()
H A DHTMLDiagnostics.cpp1258 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/llvm-project-15.0.7/clang/unittests/Lex/
H A DPPCallbacksTest.cpp181 E - B + Lexer::MeasureTokenLength(Range.getEnd(), SourceMgr, LangOpts)); in GetSourceStringToEnd()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp451 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
798 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
838 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1039 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1064 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/llvm-project-15.0.7/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp704 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
/llvm-project-15.0.7/clang/lib/Tooling/Core/
H A DReplacement.cpp143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp110 auto TokenLength = clang::Lexer::MeasureTokenLength(TokLoc, SM, LangOpts); in getTokenRange()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3106 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3141 endHeader += Lexer::MeasureTokenLength(L, *SM, LangOpts); in RewriteObjCInternalStruct()
3203 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
H A DRewriteModernObjC.cpp3897 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3944 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp230 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp266 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp223 auto TokLen = Lexer::MeasureTokenLength(Loc, SM, AST.getLangOpts()); in makeLocation()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp159 Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), SM, LangOpts); in translateSourceRange()
7182 Lexer::MeasureTokenLength(Begin, SM, CXXUnit->getLangOpts()); in clang_getToken()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst553 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For