Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Rewrite/ !
H A DRewriter.cpp166 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
205 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
216 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
H A DHTMLRewrite.cpp47 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
/src/contrib/llvm-project/clang/lib/Frontend/ !
H A DSARIFDiagnostic.cpp106 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in addLocationToResult()
H A DTextDiagnostic.cpp867 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1102 EndColumn += Lexer::MeasureTokenLength(End, SM, LangOpts); in prepareAndFilterRanges()
1529 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
H A DSerializedDiagnosticPrinter.cpp366 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/src/contrib/llvm-project/clang/include/clang/Lex/ !
H A DLexer.h371 static unsigned MeasureTokenLength(SourceLocation Loc,
/src/contrib/llvm-project/clang/lib/Edit/ !
H A DCommit.cpp256 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/src/contrib/llvm-project/clang/lib/Lex/ !
H A DLexer.cpp499 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
861 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
901 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1102 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1129 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/src/contrib/llvm-project/clang/lib/Sema/ !
H A DCodeCompleteConsumer.cpp711 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
H A DSemaChecking.cpp7507 Lexer::MeasureTokenLength(EndLoc, S.SourceMgr, S.LangOpts)); in checkFormatExpr()
/src/contrib/llvm-project/clang/lib/Tooling/Core/ !
H A DReplacement.cpp144 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ !
H A DHTMLDiagnostics.cpp1269 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/src/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.cpp3895 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3942 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/src/contrib/llvm-project/clang/lib/AST/ !
H A DJSONNodeDumper.cpp301 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()
/src/contrib/llvm-project/clang/lib/CodeGen/ !
H A DCoverageMappingGen.cpp286 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/src/contrib/llvm-project/clang/lib/Analysis/ !
H A DUnsafeBufferUsage.cpp1741 unsigned TkLen = Lexer::MeasureTokenLength(Node->getEndLoc(), SM, LangOpts); in getEndCharLoc()