Searched refs:toSourceCode (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | SwapIfBranches.cpp | 77 auto ThenCode = toSourceCode(SrcMgr, *ThenRng); in apply() 78 auto ElseCode = toSourceCode(SrcMgr, *ElseRng); in apply()
|
| H A D | ExtractVariable.cpp | 204 llvm::StringRef ExtractionCode = toSourceCode(SM, InitializerChars); in insertDeclaration()
|
| H A D | ExtractFunction.cpp | 490 return toSourceCode(SM, BodyRange).str() + in getFuncBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.h | 127 llvm::StringRef toSourceCode(const SourceManager &SM, SourceRange R);
|
| H A D | IncludeFixer.cpp | 385 return (toSourceCode(SM, Range) + "::").str(); in getSpelledSpecifier()
|
| H A D | Preamble.cpp | 256 OS << toSourceCode(SM, DirectiveRange.getAsRange()); in spellDirective()
|
| H A D | SourceCode.cpp | 443 llvm::StringRef toSourceCode(const SourceManager &SM, SourceRange R) { in toSourceCode() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ParsedASTTests.cpp | 365 toSourceCode(SM, FilenameRange.getAsRange()).drop_back().drop_front(), in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.cpp | 668 S.Name = toSourceCode(SM, SourceRange(StartLoc, EndLoc)); in handleMacros()
|