Lines Matching full:parents
253 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; member
293 const Stmt *Parent = Parents[Parents.size() - 1].get().Node.get<Stmt>(); in canonicalize()
297 // Look through the implicit casts in the parents. in canonicalize()
299 for (; (ParentIndex + 1) <= Parents.size() && isa<ImplicitCastExpr>(Parent); in canonicalize()
302 Parents[Parents.size() - ParentIndex - 1].get().Node.get<Stmt>(); in canonicalize()
310 Node = Parents[Parents.size() - ParentIndex]; in canonicalize()
312 Parents.pop_back(); in canonicalize()
398 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
409 Selected.Parents.push_back(Selected.Node); in create()
410 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
421 // Scan through the parents (bottom-to-top) and check if the selection is in isInFunctionLikeBodyOfCode()
424 for (const auto &Parent : llvm::reverse(Parents)) { in isInFunctionLikeBodyOfCode()
442 for (const auto &Parent : llvm::reverse(Parents)) { in getFunctionLikeNearestParent()