Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriter.cpp154 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
193 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
203 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
DHTMLRewrite.cpp44 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp859 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
943 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1243 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
DDiagnosticRenderer.cpp63 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
DSerializedDiagnosticPrinter.cpp380 TokSize = Lexer::MeasureTokenLength(Range.getEnd(), in AddCharSourceRangeToRecord()
/external/clang/include/clang/Lex/
DLexer.h281 static unsigned MeasureTokenLength(SourceLocation Loc,
/external/clang/tools/arcmt-test/
Darcmt-test.cpp331 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/external/clang/lib/Tooling/Core/
DReplacement.cpp134 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, in getRangeSize()
/external/clang/lib/Edit/
DCommit.cpp252 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp606 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/external/clang/lib/Lex/
DLexer.cpp406 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
770 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
810 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
998 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp112 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3124 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3159 endHeader += Lexer::MeasureTokenLength(L, *SM, LangOpts); in RewriteObjCInternalStruct()
3221 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
DRewriteModernObjC.cpp3988 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
4035 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/external/clang/tools/libclang/
DCIndex.cpp150 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
/external/clang/docs/
DInternalsManual.rst524 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For