reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/tools/extra/clangd/SourceCode.h
  154 llvm::StringRef toSourceCode(const SourceManager &SM, SourceRange R);

References

tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  347   return toSourceCode(SM, BodyRange).str() +
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp
  173   llvm::StringRef ExtractionCode = toSourceCode(SM, InitializerChars);
tools/clang/tools/extra/clangd/refactor/tweaks/SwapIfBranches.cpp
   81   auto ThenCode = toSourceCode(SrcMgr, *ThenRng);
   82   auto ElseCode = toSourceCode(SrcMgr, *ElseRng);