Home
last modified time | relevance | path

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

/external/clang/unittests/Lex/
DLexerTest.cpp119 CharSourceRange::getTokenRange(lsqrLoc, idLoc), SourceMgr, LangOpts); in TEST_F()
121 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(idLoc, rsqrLoc), in TEST_F()
124 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F()
132 CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F()
144 CharSourceRange::getTokenRange(macroLsqrLoc, macroIdLoc), in TEST_F()
149 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(macroIdLoc, macroRsqrLoc), in TEST_F()
156 CharSourceRange::getTokenRange(macroLsqrLoc, macroRsqrLoc), in TEST_F()
162 CharSourceRange::getTokenRange(SourceRange(macroLsqrLoc, macroIdLoc)), in TEST_F()
/external/clang/include/clang/Edit/
DCommit.h89 return insertFromRange(loc, CharSourceRange::getTokenRange(TokenRange),
93 return insertWrap(before, CharSourceRange::getTokenRange(TokenRange), after); in insertWrap()
96 return remove(CharSourceRange::getTokenRange(TokenRange)); in remove()
99 return replace(CharSourceRange::getTokenRange(TokenRange), text); in replace()
102 return replaceWithInner(CharSourceRange::getTokenRange(TokenRange), in replaceWithInner()
103 CharSourceRange::getTokenRange(TokenInnerRange)); in replaceWithInner()
/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.h230 static CharSourceRange getTokenRange(SourceRange R) { in getTokenRange() function
244 static CharSourceRange getTokenRange(SourceLocation B, SourceLocation E) { in getTokenRange() function
245 return getTokenRange(SourceRange(B, E)); in getTokenRange()
DDiagnostic.h106 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval()
121 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement()
1018 DB.AddSourceRange(CharSourceRange::getTokenRange(R));
DPartialDiagnostic.h350 PD.AddSourceRange(CharSourceRange::getTokenRange(R));
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp194 CharSourceRange::getTokenRange(RecRange)); in rewriteToSubscriptGetCommon()
243 CharSourceRange::getTokenRange(RecRange)); in rewriteToArraySubscriptSet()
246 CharSourceRange::getTokenRange(Arg0Range)); in rewriteToArraySubscriptSet()
282 CharSourceRange::getTokenRange(RecRange)); in rewriteToDictionarySubscriptSet()
439 CharSourceRange::getTokenRange(KeyRange), in rewriteToDictionaryLiteral()
538 CharSourceRange::getTokenRange(literalRange), in getLiteralInfo()
712 commit.replaceWithInner(CharSourceRange::getTokenRange(Msg->getSourceRange()), in rewriteToNumberLiteral()
/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()
/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.cpp537 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()); in GCRewriteFinalize()
543 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()), in GCRewriteFinalize()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3tokenstream.h267 …pANTLR3_LIST (*getTokenRange) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream, ANT… member
/external/clang/include/clang/Tooling/
DRefactoring.h143 CharSourceRange::getTokenRange(NodeToReplace->getSourceRange()); in Replacement()
/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/Rewrite/Core/
DRewriter.h256 return IncreaseIndentation(CharSourceRange::getTokenRange(range), in IncreaseIndentation()
/external/clang/lib/Rewrite/Core/
DRewriter.cpp156 return getRangeSize(CharSourceRange::getTokenRange(Range), opts); in getRangeSize()