Home
last modified time | relevance | path

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

/external/clang/unittests/Lex/
DLexerTest.cpp98 std::string getSourceText(Token Begin, Token End) { in getSourceText() function in __anon5fadadf90111::LexerTest
101 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText()
130 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[2])); in TEST_F()
142 EXPECT_EQ("M(i)", getSourceText(toks[0], toks[0])); in TEST_F()
155 EXPECT_EQ("c M(i)", getSourceText(toks[1], toks[2])); in TEST_F()
168 EXPECT_EQ("M(i) c", getSourceText(toks[0], toks[1])); in TEST_F()
182 EXPECT_EQ("<INVALID>", getSourceText(toks[1], toks[2])); in TEST_F()
197 EXPECT_EQ("C(i)", getSourceText(toks[2], toks[2])); in TEST_F()
210 EXPECT_EQ("M(M(i))", getSourceText(toks[2], toks[2])); in TEST_F()
223 EXPECT_EQ("i", getSourceText(toks[2], toks[2])); in TEST_F()
[all …]
/external/clang/lib/Format/
DSortJavaScriptImports.cpp183 unsigned PreviousSize = getSourceText(InsertionPoint).size(); in analyze()
193 << getSourceText(InsertionPoint) << "\nwith:\n" in analyze()
229 StringRef getSourceText(SourceRange Range) { in getSourceText() function in clang::format::JavaScriptImportSorter
230 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText()
233 StringRef getSourceText(SourceLocation Begin, SourceLocation End) { in getSourceText() function in clang::format::JavaScriptImportSorter
252 StringRef ReferenceStmt = getSourceText(Reference.Range); in appendReference()
259 Buffer += getSourceText(Reference.Range.getBegin(), SymbolsStart); in appendReference()
264 Buffer += getSourceText(I->Range); in appendReference()
267 Buffer += getSourceText(SymbolsEnd, Reference.Range.getEnd()); in appendReference()
316 llvm::dbgs() << ", text: " << getSourceText(Reference.Range); in parseModuleReferences()
/external/clang/lib/Edit/
DEditedSource.cpp163 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()
DRewriteObjCFoundationAPI.cpp690 StringRef text = Lexer::getSourceText( in getLiteralInfo()
/external/clang/lib/Tooling/
DFixIt.cpp23 return Lexer::getSourceText(CharSourceRange::getTokenRange(Range), in getText()
DRefactoringCallbacks.cpp32 return replaceStmtWithText(Sources, From, Lexer::getSourceText( in replaceStmtWithStmt()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp89 std::string inner_text = clang::Lexer::getSourceText( in RewriteImplicitToExplicitConversion()
101 std::string text = clang::Lexer::getSourceText( in RewriteImplicitToExplicitConversion()
146 std::string text = clang::Lexer::getSourceText( in RewriteRawPtrToScopedRefptr()
/external/clang/include/clang/Edit/
DEditedSource.h82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/include/clang/Lex/
DLexer.h397 static StringRef getSourceText(CharSourceRange Range,
/external/clang/lib/ARCMigrate/
DTransforms.cpp547 str += Lexer::getSourceText( in GCRewriteFinalize()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h676 const std::string& getSourceText() const { return sourceText; } in getSourceText() function
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1132 StringRef actual_old_text = clang::Lexer::getSourceText( in GenerateReplacement()
/external/clang/lib/Lex/
DLexer.cpp922 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp1309 text.append(glslangIntermediate->getSourceText()); in TGlslangToSpvTraverser()