Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DSortJavaScriptImports.cpp180 llvm::StringRef PreviousText = getSourceText(InsertionPoint); in analyze()
245 StringRef getSourceText(SourceRange Range) { in getSourceText() function in clang::format::JavaScriptImportSorter
246 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText()
249 StringRef getSourceText(SourceLocation Begin, SourceLocation End) { in getSourceText() function in clang::format::JavaScriptImportSorter
330 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference()
342 StringRef ReferenceStmt = getSourceText(Reference.Range); in appendReference()
347 Buffer += getSourceText(Reference.Range.getBegin(), Reference.SymbolsStart); in appendReference()
350 Buffer += getSourceText(Symbols.front().Range); in appendReference()
353 Buffer += getSourceText(Symbol.Range); in appendReference()
357 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp689 StringRef text = Lexer::getSourceText( in getLiteralInfo()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp24 return Lexer::getSourceText( in isSemicolonAtLocation()
/openbsd-src/gnu/llvm/clang/include/clang/Edit/
H A DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DMacroExpansionContext.cpp130 return Lexer::getSourceText( in getOriginalText()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h497 static StringRef getSourceText(CharSourceRange Range,
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
/openbsd-src/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp153 StringRef Ref = Lexer::getSourceText(Range, SM, *LangOpts, &Invalid); in HandleDiagnostic()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransforms.cpp541 str += Lexer::getSourceText( in GCRewriteFinalize()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2008 std::string ConditionText = std::string(Lexer::getSourceText( in constructDebugPieceForTrackedCondition()
2946 Out << Lexer::getSourceText(R, SM, LO); in patternMatch()
3000 << Lexer::getSourceText( in patternMatch()
/openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp441 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmtPrinter.cpp1262 StringRef Source = Lexer::getSourceText( in printExprAsWritten()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp960 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp3007 Lexer::getSourceText(CharSourceRange::getTokenRange( in suppressDeallocationsInSuspiciousContexts()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp13313 Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
13318 Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
13323 std::string LHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
13326 std::string RHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
H A DSemaCodeComplete.cpp3018 Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid); in GetDefaultValueString()
H A DSemaDeclCXX.cpp5492 Lexer::getSourceText( in DiagnoseBaseOrMemInitializerOrder()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDecl.cpp253 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()