Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp882 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1012 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1337 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
H A DSerializedDiagnosticPrinter.cpp369 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h339 static unsigned MeasureTokenLength(SourceLocation Loc,
/freebsd-13.1/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp256 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp193 Lexer::MeasureTokenLength(R.getEnd(), SM, LO)); in createTextRegion()
H A DHTMLDiagnostics.cpp1078 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp447 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
794 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
834 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1035 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1060 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp600 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/freebsd-13.1/contrib/llvm-project/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.cpp3896 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3943 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp229 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp266 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()