Home
last modified time | relevance | path

Searched refs:DynTypedNode (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTTypeTraits.h212 class DynTypedNode {
332 DynTypedNode Node;
337 DynTypedNode Node;
359 static bool isEqual(const DynTypedNode &LHS, const DynTypedNode &RHS) {
387 DynTypedNode Result;
407 DynTypedNode Result;
426 DynTypedNode Result;
449 struct DynTypedNode::BaseConverter<
454 struct DynTypedNode::BaseConverter<
459 struct DynTypedNode::BaseConverter<
[all …]
H A DASTContext.h576 using DynTypedNode = ast_type_traits::DynTypedNode; variable
578 llvm::AlignedCharArrayUnion<ast_type_traits::DynTypedNode,
579 ArrayRef<DynTypedNode>> Storage;
583 DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) { in DynTypedNodeList()
584 new (Storage.buffer) DynTypedNode(N); in DynTypedNodeList()
588 new (Storage.buffer) ArrayRef<DynTypedNode>(A); in DynTypedNodeList()
591 const ast_type_traits::DynTypedNode *begin() const { in begin()
595 return reinterpret_cast<const DynTypedNode *>(Storage.buffer); in begin()
598 const ast_type_traits::DynTypedNode *end() const { in end()
608 const DynTypedNode &operator[](size_t N) const {
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp61 ast_type_traits::DynTypedNode Node;
113 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) { in findMatch()
428 bool matchesRecursively(const ast_type_traits::DynTypedNode &Node, in matchesRecursively()
442 bool matchesChildOf(const ast_type_traits::DynTypedNode &Node, in matchesChildOf()
453 bool matchesDescendantOf(const ast_type_traits::DynTypedNode &Node, in matchesDescendantOf()
463 bool matchesAncestorOf(const ast_type_traits::DynTypedNode &Node, in matchesAncestorOf()
477 void match(const ast_type_traits::DynTypedNode &Node) { in match()
555 void matchWithFilter(const ast_type_traits::DynTypedNode &DynNode) { in matchWithFilter()
595 return matchWithFilter(ast_type_traits::DynTypedNode::create(*Node)); in matchDispatch()
694 const ast_type_traits::DynTypedNode Parent = Parents[0]; in matchesAncestorOfRecursively()
[all …]
H A DASTMatchersInternal.cpp53 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode,
57 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
62 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
67 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
83 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder,
92 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches()
108 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches()
132 bool dynMatches(const ast_type_traits::DynTypedNode &, ASTMatchFinder *, in dynMatches() argument
263 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, in NotUnaryOperator()
283 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in AllOfVariadicOperator()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h186 match(clang::ast_type_traits::DynTypedNode::create(Node), Context); in match()
188 void match(const clang::ast_type_traits::DynTypedNode &Node,
247 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
288 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, in match()
300 return match(Matcher, ast_type_traits::DynTypedNode::create(Node), Context); in match()
H A DASTMatchersInternal.h169 ast_type_traits::DynTypedNode getNode(StringRef ID) const { in getNode()
172 return ast_type_traits::DynTypedNode(); in getNode()
187 using IDToNodeMap = std::map<std::string, ast_type_traits::DynTypedNode>;
283 virtual bool dynMatches(const ast_type_traits::DynTypedNode &DynNode,
306 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches()
391 bool matches(const ast_type_traits::DynTypedNode &DynNode,
398 bool matchesNoKindCheck(const ast_type_traits::DynTypedNode &DynNode,
569 ast_type_traits::DynTypedNode::create(*Node), Finder, Builder); in matches()
1005 return matchesChildOf(ast_type_traits::DynTypedNode::create(Node), in matchesChildOf()
1599 static ast_type_traits::DynTypedNode
[all …]
H A DASTMatchers.h4155 Predicate.Node = ast_type_traits::DynTypedNode::create(Node); in AST_POLYMORPHIC_MATCHER_P()
6209 llvm::SmallVector<ast_type_traits::DynTypedNode, 8> Stack(Parents.begin(), in AST_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/ASTDiff/
H A DASTDiffInternal.h19 using DynTypedNode = ast_type_traits::DynTypedNode; variable
H A DASTDiff.h41 ast_type_traits::DynTypedNode ASTNode;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp17 using ast_type_traits::DynTypedNode;
51 SelectedASTNode(DynTypedNode::create(*Context.getTranslationUnitDecl()), in ASTSelectionFinder()
99 SelectedASTNode(DynTypedNode::create(*D), SelectionKind)); in TraverseDecl()
127 SelectedASTNode(DynTypedNode::create(*S), SelectionKind)); in TraverseStmt()
426 const DynTypedNode &Node = Parent.get().Node; in isInFunctionLikeBodyOfCode()
444 const DynTypedNode &Node = Parent.get().Node; in getFunctionLikeNearestParent()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTTypeTraits.cpp109 void DynTypedNode::print(llvm::raw_ostream &OS, in print()
133 void DynTypedNode::dump(llvm::raw_ostream &OS, SourceManager &SM) const { in dump()
144 SourceRange DynTypedNode::getSourceRange() const { in getSourceRange()
H A DASTContext.cpp855 ast_type_traits::DynTypedNode,
863 static ast_type_traits::DynTypedNode
866 return ast_type_traits::DynTypedNode::create(*D); in getSingleDynTypedNodeFromParentMap()
868 return ast_type_traits::DynTypedNode::create(*S); in getSingleDynTypedNodeFromParentMap()
869 return *U.get<ast_type_traits::DynTypedNode *>(); in getSingleDynTypedNodeFromParentMap()
877 return llvm::ArrayRef<ast_type_traits::DynTypedNode>(); in getDynNodeFromMap()
889 if (Entry.second.is<ast_type_traits::DynTypedNode *>()) { in ~ParentMap()
10165 return ast_type_traits::DynTypedNode::create(*Node); in createDynTypedNode()
10169 return ast_type_traits::DynTypedNode::create(Node); in createDynTypedNode()
10172 ast_type_traits::DynTypedNode
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h51 ast_type_traits::DynTypedNode Node;
55 SelectedASTNode(const ast_type_traits::DynTypedNode &Node, in SelectedASTNode()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp431 ast_type_traits::DynTypedNode::create(TargetLoc)), in VisitTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp203 N.ASTNode = DynTypedNode::create(*ASTNode); in PreTraverse()
414 const DynTypedNode &DTN = N.ASTNode; in getNodeValue()