Home
last modified time | relevance | path

Searched defs:ExtractionZone (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractFunction.cpp155 struct ExtractionZone { struct
157 const Node *Parent = nullptr;
159 SourceRange ZoneRange;
161 const FunctionDecl *EnclosingFunction = nullptr;
163 SourceRange EnclosingFuncRange;
165 llvm::DenseSet<const Stmt *> RootStmts;
167 SourceLocation getInsertionPoint() const { in getInsertionPoint()
173 const Node *getLastRootStmt() const { return Parent->Children.back(); } in getLastRootStmt()
179 bool requiresHoisting(const SourceManager &SM, in requiresHoisting()