Home
last modified time | relevance | path

Searched refs:findChild (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/gnu/llvm/clang/lib/Tooling/Syntax/
DNodes.cpp201 findChild(syntax::NodeRole::LeftHandSide)); in getLhs()
205 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken)); in getOperatorToken()
209 return cast_or_null<syntax::Expression>(findChild(syntax::NodeRole::Operand)); in getOperand()
213 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken)); in getOperatorToken()
218 findChild(syntax::NodeRole::RightHandSide)); in getRhs()
223 findChild(syntax::NodeRole::IntroducerKeyword)); in getSwitchKeyword()
228 findChild(syntax::NodeRole::BodyStatement)); in getBody()
233 findChild(syntax::NodeRole::IntroducerKeyword)); in getCaseKeyword()
238 findChild(syntax::NodeRole::CaseValue)); in getCaseValue()
243 findChild(syntax::NodeRole::BodyStatement)); in getBody()
[all …]
DTree.cpp303 const syntax::Node *syntax::Tree::findChild(NodeRole R) const { in findChild() function in syntax::Tree
/openbsd/src/gnu/llvm/clang/include/clang/Tooling/Syntax/
DTree.h213 const Node *findChild(NodeRole R) const;
214 Node *findChild(NodeRole R) { in findChild() function
215 return const_cast<Node *>(const_cast<const Tree *>(this)->findChild(R)); in findChild()