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

References

tools/clang/tools/extra/clangd/Selection.cpp
  355     if (N.Selected || !N.Children.empty()) {
  357       N.Parent->Children.push_back(&N);
  451   for (const Node *Child : N.Children)
  507   while (Ancestor->Children.size() == 1 && !Ancestor->Selected)
  508     Ancestor = Ancestor->Children.front();
  529   if (Children.size() == 1 &&
  530       Children.front()->ASTNode.getSourceRange() == ASTNode.getSourceRange())
  531     return Children.front()->ignoreImplicit();
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  142   return llvm::all_of(Parent->Children, isRootStmt) ? Parent : nullptr;
  161   const Node *getLastRootStmt() const { return Parent->Children.back(); }
  174   for (const Node *Child : Parent->Children)
  205           SM, LangOpts, Parent->Children.front()->ASTNode.getSourceRange()))
  210           SM, LangOpts, Parent->Children.back()->ASTNode.getSourceRange()))
  251   if (!ExtZone.Parent || ExtZone.Parent->Children.empty())
  258   if (ExtZone.Parent->Children.size() == 1 &&
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp
  215       SelectedOperands = N.Children;
  227       for (const auto* Child : N.Children) {
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   63     Result.insert(Result.end(), N->Children.begin(), N->Children.end());
   63     Result.insert(Result.end(), N->Children.begin(), N->Children.end());
   78   for (const SelectionTree::Node *Child : Root.Children)