Home
last modified time | relevance | path

Searched refs:getSourceText (Results 1 – 8 of 8) sorted by relevance

/external/clang/unittests/Lex/
DLexerTest.cpp94 std::string getSourceText(Token Begin, Token End) { in getSourceText() function in __anone91643700111::LexerTest
97 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText()
126 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[2])); in TEST_F()
138 EXPECT_EQ("M(i)", getSourceText(toks[0], toks[0])); in TEST_F()
151 EXPECT_EQ("c M(i)", getSourceText(toks[1], toks[2])); in TEST_F()
164 EXPECT_EQ("M(i) c", getSourceText(toks[0], toks[1])); in TEST_F()
178 EXPECT_EQ("<INVALID>", getSourceText(toks[1], toks[2])); in TEST_F()
193 EXPECT_EQ("C(i)", getSourceText(toks[2], toks[2])); in TEST_F()
206 EXPECT_EQ("M(M(i))", getSourceText(toks[2], toks[2])); in TEST_F()
219 EXPECT_EQ("i", getSourceText(toks[2], toks[2])); in TEST_F()
[all …]
/external/clang/lib/Edit/
DEditedSource.cpp121 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
132 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange()
380 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() function in EditedSource
389 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc), in getSourceText()
DRewriteObjCFoundationAPI.cpp690 StringRef text = Lexer::getSourceText( in getLiteralInfo()
/external/clang/include/clang/Edit/
DEditedSource.h80 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp32 return replaceStmtWithText(Sources, From, Lexer::getSourceText( in replaceStmtWithStmt()
/external/clang/include/clang/Lex/
DLexer.h397 static StringRef getSourceText(CharSourceRange Range,
/external/clang/lib/ARCMigrate/
DTransforms.cpp551 str += Lexer::getSourceText( in GCRewriteFinalize()
/external/clang/lib/Lex/
DLexer.cpp920 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer