Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.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/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/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/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp24 return Lexer::getSourceText( in isSemicolonAtLocation()
/freebsd/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp130 return Lexer::getSourceText( in getOriginalText()
H A DUnsafeBufferUsage.cpp1769 return Lexer::getSourceText( in getExprText()
1782 StringRef Text = Lexer::getSourceText(CSR, SM, LangOpts, &Invalid); in getRangeText()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp542 str += Lexer::getSourceText( in GCRewriteFinalize()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp361 llvm::StringRef Code = clang::Lexer::getSourceText( in writeCode()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.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/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp1318 StringRef Source = Lexer::getSourceText( in printExprAsWritten()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1024 StringRef Lexer::getSourceText(CharSourceRange Range, in getSourceText() function in Lexer
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp3062 Lexer::getSourceText(CharSourceRange::getTokenRange( in suppressDeallocationsInSuspiciousContexts()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.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()
H A DSemaCodeComplete.cpp3087 Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid); in GetDefaultValueString()
H A DSemaChecking.cpp11333 StringRef SR = clang::Lexer::getSourceText( in AnalyzeImplicitConversions()
H A DSemaDeclCXX.cpp5538 Lexer::getSourceText( in DiagnoseBaseOrMemInitializerOrder()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp300 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()