Searched refs:MeasureTokenLength (Results 1 – 13 of 13) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 160 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize() 197 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 207 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
|
| H A D | HTMLRewrite.cpp | 46 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 873 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc() 1003 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange() 1328 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
|
| H A D | SerializedDiagnosticPrinter.cpp | 364 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | Lexer.h | 321 static unsigned MeasureTokenLength(SourceLocation Loc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | Commit.cpp | 257 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | Lexer.cpp | 436 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer 782 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken() 822 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion() 1010 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName() 1035 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 583 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 144 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 927 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 165 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 3105 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct() 3140 endHeader += Lexer::MeasureTokenLength(L, *SM, LangOpts); in RewriteObjCInternalStruct() 3202 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
|
| H A D | RewriteModernObjC.cpp | 3899 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct() 3946 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
|