Home
last modified time | relevance | path

Searched refs:SelNode (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineInline.cpp86 const FunctionDecl *getSelectedFunction(const SelectionTree::Node *SelNode) { in getSelectedFunction() argument
87 const ast_type_traits::DynTypedNode &AstNode = SelNode->ASTNode; in getSelectedFunction()
91 SelNode->Selected == SelectionTree::Complete) { in getSelectedFunction()
92 if (const SelectionTree::Node *P = SelNode->Parent) in getSelectedFunction()
407 const SelectionTree::Node *SelNode = Sel.ASTSelection.commonAncestor(); in prepare() local
408 if (!SelNode) in prepare()
410 Source = getSelectedFunction(SelNode); in prepare()
DDefineOutline.cpp51 const FunctionDecl *getSelectedFunction(const SelectionTree::Node *SelNode) { in getSelectedFunction() argument
52 if (!SelNode) in getSelectedFunction()
54 const ast_type_traits::DynTypedNode &AstNode = SelNode->ASTNode; in getSelectedFunction()
58 SelNode->Selected == SelectionTree::Complete) { in getSelectedFunction()
59 if (const SelectionTree::Node *P = SelNode->Parent) in getSelectedFunction()