HomeSort by relevance Sort by last modified time
    Searched refs:DynTypedNode (Results 1 - 5 of 5) sorted by null

  /external/clang/include/clang/AST/
ASTTypeTraits.h 32 /// Use \c create(Node) to create a \c DynTypedNode from an AST node,
38 class DynTypedNode {
40 /// \brief Creates a \c DynTypedNode from \c Node.
42 static DynTypedNode create(const T &Node) {
55 /// in the \c DynTypedNode, and the returned pointer points at
56 /// the storage inside DynTypedNode. For those nodes, do not
57 /// use the pointer outside the scope of the DynTypedNode.
97 template<typename T> struct DynTypedNode::BaseConverter<T,
104 static DynTypedNode create(const Decl &Node) {
105 DynTypedNode Result
    [all...]
ASTContext.h 388 typedef llvm::SmallVector<ast_type_traits::DynTypedNode, 1> ParentVector;
419 return getParents(ast_type_traits::DynTypedNode::create(Node));
422 ParentVector getParents(const ast_type_traits::DynTypedNode &Node) {
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 144 match(clang::ast_type_traits::DynTypedNode::create(Node), Context);
146 void match(const clang::ast_type_traits::DynTypedNode &Node,
183 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
221 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
233 return match(Matcher, ast_type_traits::DynTypedNode::create(Node), Context);
ASTMatchersInternal.h 72 NodeMap[ID] = ast_type_traits::DynTypedNode::create(*Node);
74 void addNode(StringRef ID, ast_type_traits::DynTypedNode Node) {
99 typedef std::map<std::string, ast_type_traits::DynTypedNode> IDToNodeMap;
167 void setBinding(const std::string &Id, ast_type_traits::DynTypedNode Node) {
228 /// \brief Base class for all matchers that works on a \c DynTypedNode.
230 /// Matcher implementations will check whether the \c DynTypedNode is
238 virtual bool matches(const ast_type_traits::DynTypedNode DynNode,
296 virtual bool matches(const ast_type_traits::DynTypedNode DynNode,
581 return matchesChildOf(ast_type_traits::DynTypedNode::create(Node),
598 return matchesDescendantOf(ast_type_traits::DynTypedNode::create(Node)
    [all...]
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 89 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) {
223 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node),
230 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node),
331 bool memoizedMatchesRecursively(const ast_type_traits::DynTypedNode &Node,
357 bool matchesRecursively(const ast_type_traits::DynTypedNode &Node,
371 virtual bool matchesChildOf(const ast_type_traits::DynTypedNode &Node,
380 virtual bool matchesDescendantOf(const ast_type_traits::DynTypedNode &Node,
388 virtual bool matchesAncestorOf(const ast_type_traits::DynTypedNode &Node,
398 void match(const ast_type_traits::DynTypedNode& Node) {
413 match(ast_type_traits::DynTypedNode::create(Node))
    [all...]

Completed in 55 milliseconds