Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriter.cpp152 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
191 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
201 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.cpp381 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.cpp334 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/external/clang/lib/Edit/
DCommit.cpp252 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/external/clang/lib/Tooling/Core/
DReplacement.cpp133 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/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/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp624 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp101 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3113 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3148 endHeader += Lexer::MeasureTokenLength(L, *SM, LangOpts); in RewriteObjCInternalStruct()
3210 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
DRewriteModernObjC.cpp3969 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
4016 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/external/clang/tools/libclang/
DCIndex.cpp151 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
/external/clang/docs/
DInternalsManual.rst524 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For