Searched defs:getSourceText (Results 1 - 3 of 3) sorted by relevance

/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/unittests/Lex/
H A DLexerTest.cpp98 std::string getSourceText(Token Begin, Token End) { function in class:__anon3389::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/Lex/
H A DLexer.cpp922 StringRef Lexer::getSourceText(CharSourceRange Range, function in class:Lexer

Completed in 460 milliseconds