Searched refs:getSourceText (Results 1 - 11 of 11) sorted by relevance

/external/clang/lib/Tooling/
H A DFixIt.cpp23 return Lexer::getSourceText(CharSourceRange::getTokenRange(Range),
H A DRefactoringCallbacks.cpp32 return replaceStmtWithText(Sources, From, Lexer::getSourceText(
/external/clang/unittests/Lex/
H A DLexerTest.cpp98 std::string getSourceText(Token Begin, Token End) { function in class:__anon3341::LexerTest
101 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange(
130 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[2]));
142 EXPECT_EQ("M(i)", getSourceText(toks[0], toks[0]));
155 EXPECT_EQ("c M(i)", getSourceText(toks[1], toks[2]));
168 EXPECT_EQ("M(i) c", getSourceText(toks[0], toks[1]));
182 EXPECT_EQ("<INVALID>", getSourceText(toks[1], toks[2]));
197 EXPECT_EQ("C(i)", getSourceText(toks[2], toks[2]));
210 EXPECT_EQ("M(M(i))", getSourceText(toks[2], toks[2]));
223 EXPECT_EQ("i", getSourceText(tok
[all...]
/external/clang/lib/Format/
H A DSortJavaScriptImports.cpp183 unsigned PreviousSize = getSourceText(InsertionPoint).size();
193 << getSourceText(InsertionPoint) << "\nwith:\n"
229 StringRef getSourceText(SourceRange Range) { function in class:clang::format::JavaScriptImportSorter
230 return getSourceText(Range.getBegin(), Range.getEnd());
233 StringRef getSourceText(SourceLocation Begin, SourceLocation End) { function in class:clang::format::JavaScriptImportSorter
252 StringRef ReferenceStmt = getSourceText(Reference.Range);
259 Buffer += getSourceText(Reference.Range.getBegin(), SymbolsStart);
264 Buffer += getSourceText(I->Range);
267 Buffer += getSourceText(SymbolsEnd, Reference.Range.getEnd());
316 llvm::dbgs() << ", text: " << getSourceText(Referenc
[all...]
/external/clang/include/clang/Edit/
H A DEditedSource.h82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/v8/tools/clang/rewrite_scoped_refptr/
H A DRewriteScopedRefptr.cpp89 std::string inner_text = clang::Lexer::getSourceText(
101 std::string text = clang::Lexer::getSourceText(
146 std::string text = clang::Lexer::getSourceText(
/external/clang/lib/Edit/
H A DEditedSource.cpp163 StringRef text = getSourceText(BeginOffs, B, Invalid);
174 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid);
432 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
441 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc),
H A DRewriteObjCFoundationAPI.cpp690 StringRef text = Lexer::getSourceText(
/external/clang/include/clang/Lex/
H A DLexer.h397 static StringRef getSourceText(CharSourceRange Range,
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp547 str += Lexer::getSourceText(
/external/v8/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp84 StringRef text = clang::Lexer::getSourceText(

Completed in 1282 milliseconds