/external/clang/lib/Tooling/ |
H A D | FixIt.cpp | 23 return Lexer::getSourceText(CharSourceRange::getTokenRange(Range),
|
H A D | RefactoringCallbacks.cpp | 32 return replaceStmtWithText(Sources, From, Lexer::getSourceText(
|
/external/clang/unittests/Lex/ |
H A D | LexerTest.cpp | 98 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 D | SortJavaScriptImports.cpp | 183 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 D | EditedSource.h | 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
H A D | RewriteScopedRefptr.cpp | 89 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 D | EditedSource.cpp | 163 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 D | RewriteObjCFoundationAPI.cpp | 690 StringRef text = Lexer::getSourceText(
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 397 static StringRef getSourceText(CharSourceRange Range,
|
/external/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 547 str += Lexer::getSourceText(
|
/external/v8/tools/clang/plugins/ |
H A D | FindBadConstructsConsumer.cpp | 84 StringRef text = clang::Lexer::getSourceText(
|