Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
HDSortJavaScriptImports.cpp179 StringRef PreviousText = getSourceText(InsertionPoint); in analyze()
243 StringRef getSourceText(SourceRange Range) { in getSourceText() function in clang::format::JavaScriptImportSorter
244 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText()
247 StringRef getSourceText(SourceLocation Begin, SourceLocation End) { in getSourceText() function in clang::format::JavaScriptImportSorter
329 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference()
341 StringRef ReferenceStmt = getSourceText(Reference.Range); in appendReference()
346 Buffer += getSourceText(Reference.Range.getBegin(), Reference.SymbolsStart); in appendReference()
349 Buffer += getSourceText(Symbols.front().Range); in appendReference()
352 Buffer += getSourceText(Symbol.Range); in appendReference()
356 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
HDFixIt.cpp22 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
HDRefactoringCallbacks.cpp81 Lexer::getSourceText(CharSourceRange::getTokenRange(To.getSourceRange()), in replaceStmtWithStmt()
217 ToText += Lexer::getSourceText(Source, *Result.SourceManager, in run()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
HDEditedSource.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()
HDRewriteObjCFoundationAPI.cpp689 StringRef text = Lexer::getSourceText( in getLiteralInfo()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
HDSourceExtraction.cpp24 return Lexer::getSourceText( in isSemicolonAtLocation()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Edit/
HDEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
HDUSRLocFinder.cpp93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation()
575 llvm::StringRef ActualName = Lexer::getSourceText( in createRenameAtomicChanges()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDMacroExpansionContext.cpp130 return Lexer::getSourceText( in getOriginalText()
HDUnsafeBufferUsage.cpp1769 return Lexer::getSourceText( in getExprText()
1782 StringRef Text = Lexer::getSourceText(CSR, SM, LangOpts, &Invalid); in getRangeText()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
HDLexer.h497 static StringRef getSourceText(CharSourceRange Range,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
HDSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
HDHTMLLogger.cpp361 llvm::StringRef Code = clang::Lexer::getSourceText( in writeCode()
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransforms.cpp542 str += Lexer::getSourceText( in GCRewriteFinalize()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDBugReporterVisitors.cpp2029 std::string ConditionText = std::string(Lexer::getSourceText( in constructDebugPieceForTrackedCondition()
2978 Out << Lexer::getSourceText(R, SM, LO); in patternMatch()
3032 << Lexer::getSourceText( in patternMatch()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
HDASTDiff.cpp441 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDStmtPrinter.cpp1318 StringRef Source = Lexer::getSourceText( in printExprAsWritten()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDMallocChecker.cpp3062 Lexer::getSourceText(CharSourceRange::getTokenRange( in suppressDeallocationsInSuspiciousContexts()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
HDLexer.cpp1024 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaExpr.cpp12730 Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
12735 Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
12740 std::string LHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
12743 std::string RHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow()
HDSemaCodeComplete.cpp3087 Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid); in GetDefaultValueString()
HDSemaChecking.cpp11333 StringRef SR = clang::Lexer::getSourceText( in AnalyzeImplicitConversions()
HDSemaDeclCXX.cpp5538 Lexer::getSourceText( in DiagnoseBaseOrMemInitializerOrder()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
HDParseDecl.cpp300 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()