Searched refs:getSourceText (Results 1 – 8 of 8) sorted by relevance
/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 93 std::string getSourceText(Token Begin, Token End) { in getSourceText() function in __anone91643700111::LexerTest 96 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText() 125 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[2])); in TEST_F() 137 EXPECT_EQ("M(i)", getSourceText(toks[0], toks[0])); in TEST_F() 150 EXPECT_EQ("c M(i)", getSourceText(toks[1], toks[2])); in TEST_F() 163 EXPECT_EQ("M(i) c", getSourceText(toks[0], toks[1])); in TEST_F() 177 EXPECT_EQ("<INVALID>", getSourceText(toks[1], toks[2])); in TEST_F() 192 EXPECT_EQ("C(i)", getSourceText(toks[2], toks[2])); in TEST_F() 205 EXPECT_EQ("M(M(i))", getSourceText(toks[2], toks[2])); in TEST_F() 218 EXPECT_EQ("i", getSourceText(toks[2], toks[2])); in TEST_F() [all …]
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 163 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange() 174 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange() 432 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() function in EditedSource 441 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc), in getSourceText()
|
D | RewriteObjCFoundationAPI.cpp | 690 StringRef text = Lexer::getSourceText( in getLiteralInfo()
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 32 return replaceStmtWithText(Sources, From, Lexer::getSourceText( in replaceStmtWithStmt()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 397 static StringRef getSourceText(CharSourceRange Range,
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 547 str += Lexer::getSourceText( in GCRewriteFinalize()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 920 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
|