Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DSortJavaScriptImports.cpp172 llvm::StringRef PreviousText = getSourceText(InsertionPoint); in analyze()
237 StringRef getSourceText(SourceRange Range) { in getSourceText() function in clang::format::JavaScriptImportSorter
238 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText()
241 StringRef getSourceText(SourceLocation Begin, SourceLocation End) { in getSourceText() function in clang::format::JavaScriptImportSorter
329 StringRef ReferenceStmt = getSourceText(Reference.Range); in appendReference()
334 Buffer += getSourceText(Reference.Range.getBegin(), Reference.SymbolsStart); in appendReference()
339 Buffer += getSourceText(I->Range); in appendReference()
342 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
411 llvm::dbgs() << ", text: " << getSourceText(Reference.Range); in parseModuleReferences()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/
H A DEditedSource.cpp179 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
190 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange()
454 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() function in EditedSource
463 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc), in getSourceText()
H A DRewriteObjCFoundationAPI.cpp688 StringRef text = Lexer::getSourceText( in getLiteralInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DFixIt.cpp22 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
H A DRefactoringCallbacks.cpp81 Lexer::getSourceText(CharSourceRange::getTokenRange(To.getSourceRange()), in replaceStmtWithStmt()
217 ToText += Lexer::getSourceText(Source, *Result.SourceManager, in run()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp23 return Lexer::getSourceText( in isSemicolonAtLocation()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation()
574 llvm::StringRef ActualName = Lexer::getSourceText( in createRenameAtomicChanges()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DMacroExpansionContext.cpp129 return Lexer::getSourceText( in getOriginalText()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h465 static StringRef getSourceText(CharSourceRange Range,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/
H A Dclang-import-test.cpp153 StringRef Ref = Lexer::getSourceText(Range, SM, *LangOpts, &Invalid); in HandleDiagnostic()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.cpp543 str += Lexer::getSourceText( in GCRewriteFinalize()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1843 std::string ConditionText = std::string(Lexer::getSourceText( in constructDebugPieceForTrackedCondition()
2468 Out << Lexer::getSourceText(R, SM, LO); in patternMatch()
2522 << Lexer::getSourceText( in patternMatch()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp442 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtPrinter.cpp1099 StringRef Source = Lexer::getSourceText( in printExprAsWritten()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp942 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp2800 Lexer::getSourceText(CharSourceRange::getTokenRange( in suppressDeallocationsInSuspiciousContexts()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp12250 Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
12255 Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
12260 std::string LHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
12263 std::string RHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
H A DSemaCodeComplete.cpp2976 Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid); in GetDefaultValueString()
H A DSemaDeclCXX.cpp5372 Lexer::getSourceText( in DiagnoseBaseOrMemInitializerOrder()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp255 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()