/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 98 std::string getSourceText(Token Begin, Token End) { in getSourceText() function in __anon75767a2f0111::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/ |
D | SortJavaScriptImports.cpp | 183 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/Tooling/ |
D | FixIt.cpp | 23 return Lexer::getSourceText(CharSourceRange::getTokenRange(Range), in getText()
|
D | RefactoringCallbacks.cpp | 32 return replaceStmtWithText(Sources, From, Lexer::getSourceText( in replaceStmtWithStmt()
|
/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/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 89 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/ |
D | EditedSource.h | 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/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/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 84 StringRef text = clang::Lexer::getSourceText( in FixItRemovalForVirtual()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 931 StringRef actual_old_text = clang::Lexer::getSourceText( in GenerateReplacement()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 922 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
|