Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DSARIFDiagnostic.cpp106 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in addLocationToResult()
H A DTextDiagnostic.cpp883 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1014 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1339 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
H A DSerializedDiagnosticPrinter.cpp368 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/openbsd-src/gnu/llvm/clang/tools/arcmt-test/
H A Darcmt-test.cpp335 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DCommit.cpp256 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h371 static unsigned MeasureTokenLength(SourceLocation Loc,
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp450 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
797 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
837 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1038 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1065 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp704 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Core/
H A DReplacement.cpp143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1258 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/openbsd-src/gnu/llvm/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.cpp3897 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3944 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp232 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DJSONNodeDumper.cpp267 Lexer::MeasureTokenLength(Loc, SM, Ctx.getLangOpts())); in writeBareSourceLocation()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp159 Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), SM, LangOpts); in translateSourceRange()
7219 Lexer::MeasureTokenLength(Begin, SM, CXXUnit->getLangOpts()); in clang_getToken()
/openbsd-src/gnu/llvm/clang/docs/
H A DInternalsManual.rst556 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For