Home
last modified time | relevance | path

Searched refs:MeasureTokenLength (Results 1 – 15 of 15) 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.cpp867 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
951 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1259 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
DSerializedDiagnosticPrinter.cpp382 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/Lex/
DLexer.cpp406 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
772 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
812 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1000 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1025 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroNameForDiagnostics()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp624 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/external/clang/lib/Tooling/Core/
DReplacement.cpp128 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp103 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3105 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()
DRewriteModernObjC.cpp3905 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3952 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
/external/clang/tools/libclang/
DCIndex.cpp148 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
/external/clang/docs/
DInternalsManual.rst524 either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For