Home
last modified time | relevance | path

Searched refs:toSourceCode (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DSwapIfBranches.cpp77 auto ThenCode = toSourceCode(SrcMgr, *ThenRng); in apply()
78 auto ElseCode = toSourceCode(SrcMgr, *ElseRng); in apply()
H A DExtractVariable.cpp204 llvm::StringRef ExtractionCode = toSourceCode(SM, InitializerChars); in insertDeclaration()
H A DExtractFunction.cpp490 return toSourceCode(SM, BodyRange).str() + in getFuncBody()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.h127 llvm::StringRef toSourceCode(const SourceManager &SM, SourceRange R);
H A DIncludeFixer.cpp385 return (toSourceCode(SM, Range) + "::").str(); in getSpelledSpecifier()
H A DPreamble.cpp256 OS << toSourceCode(SM, DirectiveRange.getAsRange()); in spellDirective()
H A DSourceCode.cpp443 llvm::StringRef toSourceCode(const SourceManager &SM, SourceRange R) { in toSourceCode() function
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DParsedASTTests.cpp365 toSourceCode(SM, FilenameRange.getAsRange()).drop_back().drop_front(), in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp668 S.Name = toSourceCode(SM, SourceRange(StartLoc, EndLoc)); in handleMacros()