Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp181 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
331 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference()
343 StringRef ReferenceStmt = getSourceText(Reference.Range); in appendReference()
348 Buffer += getSourceText(Reference.Range.getBegin(), Reference.SymbolsStart); in appendReference()
351 Buffer += getSourceText(Symbols.front().Range); in appendReference()
354 Buffer += getSourceText(Symbol.Range); in appendReference()
358 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp24 return Lexer::getSourceText( in isSemicolonAtLocation()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation()
575 llvm::StringRef ActualName = Lexer::getSourceText( in createRenameAtomicChanges()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp130 return Lexer::getSourceText( in getOriginalText()
H A DUnsafeBufferUsage.cpp1497 return Lexer::getSourceText( in getExprText()
1510 StringRef Text = Lexer::getSourceText(CSR, SM, LangOpts, &Invalid); in getRangeText()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h497 static StringRef getSourceText(CharSourceRange Range,
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp349 llvm::StringRef Code = clang::Lexer::getSourceText( in writeCode()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp541 str += Lexer::getSourceText( in GCRewriteFinalize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2025 std::string ConditionText = std::string(Lexer::getSourceText( in constructDebugPieceForTrackedCondition()
2964 Out << Lexer::getSourceText(R, SM, LO); in patternMatch()
3018 << Lexer::getSourceText( in patternMatch()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp441 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp1272 StringRef Source = Lexer::getSourceText( in printExprAsWritten()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp3007 Lexer::getSourceText(CharSourceRange::getTokenRange( in suppressDeallocationsInSuspiciousContexts()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp979 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp13758 Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
13763 Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
13768 std::string LHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
13771 std::string RHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
H A DSemaCodeComplete.cpp3080 Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid); in GetDefaultValueString()
H A DSemaDeclCXX.cpp5684 Lexer::getSourceText( in DiagnoseBaseOrMemInitializerOrder()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp267 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()