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

References

tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
   93 bool isRootStmt(const Node *N) {
  116 const Node *getParentOfRootStmts(const Node *CommonAnc) {
  116 const Node *getParentOfRootStmts(const Node *CommonAnc) {
  119   const Node *Parent = nullptr;
  148   const Node *Parent = nullptr;
  161   const Node *getLastRootStmt() const { return Parent->Children.back(); }
  174   for (const Node *Child : Parent->Children)
  179 const FunctionDecl *findEnclosingFunction(const Node *CommonAnc) {
  181   for (const Node *CurNode = CommonAnc; CurNode; CurNode = CurNode->Parent) {
  200 llvm::Optional<SourceRange> findZoneRange(const Node *Parent,
  230 bool validSingleChild(const Node *Child, const FunctionDecl *EnclosingFunc) {
  246 llvm::Optional<ExtractionZone> findExtractionZone(const Node *CommonAnc,
  646   const Node *CommonAnc = Inputs.ASTSelection.commonAncestor();