| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 170 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 D | HTMLRewrite.cpp | 45 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | RawStringLiteralCheck.cpp | 133 Lexer::MeasureTokenLength(Literal->getBeginLoc(), in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | VirtualClassDestructorCheck.cpp | 60 Lexer::MeasureTokenLength(VirtualBeginSpellingLoc, SM, LangOpts)); in getVirtualKeywordRange()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 883 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 D | SerializedDiagnosticPrinter.cpp | 368 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | QualifiedAutoCheck.cpp | 67 Var->getTypeSpecEndLoc().getLocWithOffset(Lexer::MeasureTokenLength( in getTypeSpecifierLocation()
|
| H A D | ElseAfterReturnCheck.cpp | 123 return Lexer::MeasureTokenLength(Loc, Context.getSourceManager(), in removeElseAndBrackets()
|
| /llvm-project-15.0.7/clang/tools/arcmt-test/ |
| H A D | arcmt-test.cpp | 335 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | Lexer.h | 371 static unsigned MeasureTokenLength(SourceLocation Loc,
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | Commit.cpp | 256 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 193 Lexer::MeasureTokenLength(R.getEnd(), SM, LO)); in createTextRegion()
|
| H A D | HTMLDiagnostics.cpp | 1258 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
|
| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | PPCallbacksTest.cpp | 181 E - B + Lexer::MeasureTokenLength(Range.getEnd(), SourceMgr, LangOpts)); in GetSourceStringToEnd()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Lexer.cpp | 451 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 D | CodeCompleteConsumer.cpp | 704 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.cpp | 110 auto TokenLength = clang::Lexer::MeasureTokenLength(TokLoc, SM, LangOpts); in getTokenRange()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 3106 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 D | RewriteModernObjC.cpp | 3897 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 D | CoverageMappingGen.cpp | 230 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 266 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 223 auto TokLen = Lexer::MeasureTokenLength(Loc, SM, AST.getLangOpts()); in makeLocation()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 159 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 D | InternalsManual.rst | 553 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For
|