Home
last modified time | relevance | path

Searched refs:getTokenRange (Results 1 – 18 of 18) sorted by relevance

/external/clang/include/clang/Edit/
DCommit.h92 return insertFromRange(loc, CharSourceRange::getTokenRange(TokenRange),
96 return insertWrap(before, CharSourceRange::getTokenRange(TokenRange), after); in insertWrap()
99 return remove(CharSourceRange::getTokenRange(TokenRange)); in remove()
102 return replace(CharSourceRange::getTokenRange(TokenRange), text); in replace()
105 return replaceWithInner(CharSourceRange::getTokenRange(TokenRange), in replaceWithInner()
106 CharSourceRange::getTokenRange(TokenInnerRange)); in replaceWithInner()
/external/clang/unittests/Lex/
DLexerTest.cpp97 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText()
304 CharSourceRange::getTokenRange(lsqrLoc, idLoc), SourceMgr, LangOpts); in TEST_F()
306 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(idLoc, rsqrLoc), in TEST_F()
309 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F()
317 CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F()
329 CharSourceRange::getTokenRange(macroLsqrLoc, macroIdLoc), in TEST_F()
334 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(macroIdLoc, macroRsqrLoc), in TEST_F()
341 CharSourceRange::getTokenRange(macroLsqrLoc, macroRsqrLoc), in TEST_F()
347 CharSourceRange::getTokenRange(SourceRange(macroLsqrLoc, macroIdLoc)), in TEST_F()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange( in replaceStmtWithText()
33 CharSourceRange::getTokenRange(To.getSourceRange()), in replaceStmtWithStmt()
45 CharSourceRange::getTokenRange(FromMatch->getSourceRange()), in run()
/external/clang/include/clang/Basic/
DSourceLocation.h232 static CharSourceRange getTokenRange(SourceRange R) { in getTokenRange() function
240 static CharSourceRange getTokenRange(SourceLocation B, SourceLocation E) { in getTokenRange() function
241 return getTokenRange(SourceRange(B, E)); in getTokenRange()
DDiagnostic.h109 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval()
124 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement()
1080 DB.AddSourceRange(CharSourceRange::getTokenRange(R));
1087 DB.AddSourceRange(CharSourceRange::getTokenRange(R));
DPartialDiagnostic.h381 PD.AddSourceRange(CharSourceRange::getTokenRange(R));
/external/clang/lib/ARCMigrate/
DTransformActions.cpp100 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP) in compare()
101 .compareWith(CharRange(CharSourceRange::getTokenRange(RHS), in compare()
446 addRemoval(CharSourceRange::getTokenRange(range)); in commitRemove()
474 addRemoval(CharSourceRange::getTokenRange( in commitReplace()
495 std::make_pair(CharRange(CharSourceRange::getTokenRange(range), in commitIncreaseIndentation()
DTransforms.cpp546 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()); in GCRewriteFinalize()
552 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()), in GCRewriteFinalize()
/external/clang/tools/libclang/
DCXSourceLocation.h63 CharSourceRange::getTokenRange(R)); in translateSourceRange()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp110 CharSourceRange::getTokenRange(Begin, Begin))); in tryToFixConversion()
144 CharSourceRange::getTokenRange(Begin, Begin))); in tryToFixConversion()
DSemaDeclCXX.cpp6992 InsertLoc, CharSourceRange::getTokenRange(Before)) in CheckConversionDeclarator()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp195 CharSourceRange::getTokenRange(RecRange)); in rewriteToSubscriptGetCommon()
244 CharSourceRange::getTokenRange(RecRange)); in rewriteToArraySubscriptSet()
247 CharSourceRange::getTokenRange(Arg0Range)); in rewriteToArraySubscriptSet()
283 CharSourceRange::getTokenRange(RecRange)); in rewriteToDictionarySubscriptSet()
515 CharSourceRange::getTokenRange(KeyRange), in rewriteToDictionaryLiteral()
691 CharSourceRange::getTokenRange(literalRange), in getLiteralInfo()
865 commit.replaceWithInner(CharSourceRange::getTokenRange(Msg->getSourceRange()), in rewriteToNumberLiteral()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3tokenstream.h267 …pANTLR3_LIST (*getTokenRange) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream, ANT… member
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3tokenstream.c46 static pANTLR3_LIST getTokenRange (pANTLR3_COMMON_TOKEN_STREAM cts, ANTLR3_UINT32 start, AN…
292 stream->getTokenRange = getTokenRange; in antlr3CommonTokenStreamNew()
711 getTokenRange (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_UINT32 start, ANTLR3_UINT32 stop) in getTokenRange() function
/external/clang/include/clang/Tooling/Core/
DReplacement.h222 CharSourceRange::getTokenRange(NodeToReplace->getSourceRange()); in Replacement()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h158 return IncreaseIndentation(CharSourceRange::getTokenRange(range), in IncreaseIndentation()
/external/clang/lib/Rewrite/
DRewriter.cpp160 return getRangeSize(CharSourceRange::getTokenRange(Range), opts); in getRangeSize()
/external/clang/lib/Parse/
DParseDeclCXX.cpp569 CharSourceRange::getTokenRange(MisplacedAttrs.Range)) in ParseUsingDeclaration()