Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp71 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
110 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
121 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
H A DHTMLRewrite.cpp46 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSARIFDiagnostic.cpp106 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in addLocationToResult()
H A DTextDiagnostic.cpp865 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1099 EndColumn += Lexer::MeasureTokenLength(End, SM, LangOpts); in prepareAndFilterRanges()
1526 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
H A DSerializedDiagnosticPrinter.cpp365 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h371 static unsigned MeasureTokenLength(SourceLocation Loc,
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp255 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp498 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
859 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
899 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1098 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1125 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp707 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
H A DSemaChecking.cpp8468 Lexer::MeasureTokenLength(EndLoc, S.SourceMgr, S.LangOpts)); in checkFormatExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1268 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3104 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3139 endHeader += Lexer::MeasureTokenLength(L, *SM, LangOpts); in RewriteObjCInternalStruct()
3201 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()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp300 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp284 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp2841 Lexer::MeasureTokenLength(Node->getEndLoc(), SM, LangOpts)) { in getEndCharLoc()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc11033 …LocationERKNS_13SourceManagerERKNS_11LangOptionsE", "clang::Lexer::MeasureTokenLength(clang::Sourc…