Searched refs:getSourceText (Results 1 – 8 of 8) sorted by relevance
/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 94 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/ |
D | EditedSource.cpp | 121 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()
|
D | RewriteObjCFoundationAPI.cpp | 690 StringRef text = Lexer::getSourceText( in getLiteralInfo()
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 80 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 | 551 str += Lexer::getSourceText( in GCRewriteFinalize()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 920 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
|