Home
last modified time | relevance | path

Searched refs:getCharRange (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/lib/Format/
DAffectedRangeManager.cpp80 CharSourceRange Range = CharSourceRange::getCharRange(Start, End); in affectsTokenRange()
85 CharSourceRange EmptyLineRange = CharSourceRange::getCharRange( in affectsLeadingEmptyLines()
DTokenAnalyzer.cpp70 CharRanges.push_back(CharSourceRange::getCharRange(Start, End)); in CreateVirtualEnvironment()
DSortJavaScriptImports.cpp196 Env.getSourceManager(), CharSourceRange::getCharRange(InsertionPoint), in analyze()
DWhitespaceManager.cpp506 SourceMgr, CharSourceRange::getCharRange(Range), Text)); in storeReplacement()
DFormat.cpp1092 if (!AffectedRangeMgr.affectsCharSourceRange(CharSourceRange::getCharRange( in checkEmptyNamespace()
1165 auto SR = CharSourceRange::getCharRange(Tokens[St]->Tok.getLocation(), in generateFixes()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp131 clang::CharSourceRange range = clang::CharSourceRange::getCharRange( in HandleBinaryOp()
166 clang::CharSourceRange pre_arg_range = clang::CharSourceRange::getCharRange( in run()
263 clang::CharSourceRange insertion_range = clang::CharSourceRange::getCharRange( in run()
325 clang::CharSourceRange range = clang::CharSourceRange::getCharRange( in run()
/external/clang/include/clang/Basic/
DSourceLocation.h237 static CharSourceRange getCharRange(SourceRange R) { in getCharRange() function
244 static CharSourceRange getCharRange(SourceLocation B, SourceLocation E) { in getCharRange() function
245 return getCharRange(SourceRange(B, E)); in getCharRange()
DDiagnostic.h83 CharSourceRange::getCharRange(InsertionLoc, InsertionLoc);
96 CharSourceRange::getCharRange(InsertionLoc, InsertionLoc);
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp193 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), in rewriteToSubscriptGetCommon()
242 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), in rewriteToArraySubscriptSet()
245 commit.replaceWithInner(CharSourceRange::getCharRange(Arg0Range.getBegin(), in rewriteToArraySubscriptSet()
250 commit.insertWrap("[", CharSourceRange::getCharRange(Arg0Range.getBegin(), in rewriteToArraySubscriptSet()
281 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), in rewriteToDictionarySubscriptSet()
547 commit.remove(CharSourceRange::getCharRange(ValRange.getBegin(), in rewriteToDictionaryLiteral()
750 CharSourceRange::getCharRange(B, B.getLocWithOffset(text.size())); in getLiteralInfo()
DCommit.cpp28 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); in getFileRange()
35 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); in getInsertFromRange()
DEditedSource.cpp375 CharSourceRange range = CharSourceRange::getCharRange(Loc, in applyRewrite()
441 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc), in getSourceText()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp471 addRemoval(CharSourceRange::getCharRange(range.getBegin(), in commitReplace()
487 addRemoval(CharSourceRange::getCharRange(loc, afterText)); in commitReplaceText()
567 CharSourceRange range = CharSourceRange::getCharRange(I->first.Begin, in applyRewrites()
574 CharSourceRange range = CharSourceRange::getCharRange(I->Begin, I->End); in applyRewrites()
DObjCMT.cpp548 commit.replace(CharSourceRange::getCharRange(Getter->getLocStart(), in rewriteToObjCProperty()
2180 Range = CharSourceRange::getCharRange(Loc, in applyEditsToTemp()
/external/v8/tools/clang/pass_to_move/
DPassToMove.cpp63 clang::CharSourceRange::getCharRange( in run()
/external/clang/include/clang/Lex/
DLexer.h335 : CharSourceRange::getCharRange( in getAsCharRange()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp656 CharSourceRange::getCharRange(If->getLocStart(), in CreateIfFixit()
667 CharSourceRange::getCharRange(If->getLocStart(), in CreateIfFixit()
DSemaDeclAttr.cpp6351 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning()
/external/clang/lib/Index/
DCommentToXML.cpp611 CharSourceRange::getCharRange(Start, Start.getLocWithOffset(Length))); in formatTextOfDeclaration()
/external/clang/lib/Parse/
DParseTemplate.cpp804 CharSourceRange::getCharRange(RAngleLoc, in ParseGreaterThanInTemplateList()
/external/clang/lib/Lex/
DLiteralSupport.cpp57 return CharSourceRange::getCharRange(Begin, End); in MakeCharSourceRange()
DLexer.cpp855 return CharSourceRange::getCharRange(Begin, End); in makeRangeFromFileLocs()
1420 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
DPPDirectives.cpp1721 = CharSourceRange::getCharRange(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective()
/external/clang/lib/Frontend/
DASTUnit.cpp2558 Ranges.push_back(CharSourceRange::getCharRange(BL, EL)); in TranslateStoredDiagnostics()
2569 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp924 clang::CharSourceRange range = clang::CharSourceRange::getCharRange( in GenerateReplacement()
/external/clang/include/clang/AST/
DStmt.h1617 Range(CharSourceRange::getCharRange(Begin, End)) { in AsmStringPiece()

12