Home
last modified time | relevance | path

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

12

/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/llvm-project/clang/lib/Rewrite/
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()
DHTMLRewrite.cpp45 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DRawStringLiteralCheck.cpp133 Lexer::MeasureTokenLength(Literal->getBeginLoc(), in check()
/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()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp67 Var->getTypeSpecEndLoc().getLocWithOffset(Lexer::MeasureTokenLength( in getTypeSpecifierLocation()
DElseAfterReturnCheck.cpp123 return Lexer::MeasureTokenLength(Loc, Context.getSourceManager(), in removeElseAndBrackets()
/external/clang/include/clang/Lex/
DLexer.h281 static unsigned MeasureTokenLength(SourceLocation Loc,
/external/llvm-project/clang/lib/Frontend/
DTextDiagnostic.cpp893 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
1023 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
1348 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, LangOpts); in emitParseableFixits()
/external/llvm-project/clang/tools/arcmt-test/
Darcmt-test.cpp333 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp334 endCol += Lexer::MeasureTokenLength(end, SM, langOpts); in printSourceRange()
/external/llvm-project/clang/include/clang/Lex/
DLexer.h339 static unsigned MeasureTokenLength(SourceLocation Loc,
/external/clang/lib/Edit/
DCommit.cpp252 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); in canInsertAfterToken()
/external/llvm-project/clang/lib/Edit/
DCommit.cpp256 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/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp167 E - B + Lexer::MeasureTokenLength(Range.getEnd(), SourceMgr, LangOpts)); in GetSourceStringToEnd()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSarifDiagnostics.cpp191 Lexer::MeasureTokenLength(R.getEnd(), SM, LO)); in createTextRegion()
DHTMLDiagnostics.cpp1057 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp447 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, in MeasureTokenLength() function in Lexer
792 unsigned Len = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getLocForEndOfToken()
832 unsigned tokLen = MeasureTokenLength(spellLoc, SM, LangOpts); in isAtEndOfMacroExpansion()
1020 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts); in getImmediateMacroName()
1045 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/llvm-project/clang/lib/Sema/
DCodeCompleteConsumer.cpp600 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
/external/llvm-project/clang/lib/Tooling/Core/
DReplacement.cpp143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp137 auto TokenLength = clang::Lexer::MeasureTokenLength(TokLoc, SM, LangOpts); in getTokenRange()

12