| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ParentMapContext.h | 55 DynTypedNodeList getParents(const DynTypedNode &Node); 65 DynTypedNode traverseIgnored(const DynTypedNode &N) const; 93 llvm::AlignedCharArrayUnion<DynTypedNode, ArrayRef<DynTypedNode>> Storage; 97 DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) { in DynTypedNodeList() 98 new (&Storage) DynTypedNode(N); in DynTypedNodeList() 102 new (&Storage) ArrayRef<DynTypedNode>(A); in DynTypedNodeList() 105 const DynTypedNode *begin() const { in begin() 109 return reinterpret_cast<const DynTypedNode *>(&Storage); in begin() 112 const DynTypedNode *end() const { in end() 121 const DynTypedNode &operator[](size_t N) const { [all …]
|
| H A D | ASTTypeTraits.h | 233 class DynTypedNode { 352 DynTypedNode Node; 357 DynTypedNode Node; 379 static bool isEqual(const DynTypedNode &LHS, const DynTypedNode &RHS) { 407 DynTypedNode Result; 427 DynTypedNode Result; 446 DynTypedNode Result; 470 struct DynTypedNode::BaseConverter< 475 struct DynTypedNode::BaseConverter< 480 struct DynTypedNode::BaseConverter< [all …]
|
| H A D | ASTNodeTraverser.h | 275 void Visit(const DynTypedNode &N) { in Visit()
|
| H A D | ASTContext.h | 102 class DynTypedNode; variable
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 45 DynTypedNode ParentMapContext::traverseIgnored(const DynTypedNode &N) const { in traverseIgnored() 77 llvm::DenseMap<DynTypedNode, 85 static DynTypedNode 88 return DynTypedNode::create(*D); in getSingleDynTypedNodeFromParentMap() 90 return DynTypedNode::create(*S); in getSingleDynTypedNodeFromParentMap() 91 return *U.get<DynTypedNode *>(); in getSingleDynTypedNodeFromParentMap() 260 return DynTypedNode::create(*S); in AscendIgnoreUnlessSpelledInSource() 264 return DynTypedNode::create(*E); in AscendIgnoreUnlessSpelledInSource() 324 return DynTypedNode::create(*Node); in createDynTypedNode() 327 return DynTypedNode::create(Node); in createDynTypedNode() [all …]
|
| H A D | ASTTypeTraits.cpp | 140 void DynTypedNode::print(llvm::raw_ostream &OS, in print() 169 void DynTypedNode::dump(llvm::raw_ostream &OS, in dump() 181 SourceRange DynTypedNode::getSourceRange() const { in getSourceRange()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 193 match(clang::DynTypedNode::create(Node), Context); in match() 195 void match(const clang::DynTypedNode &Node, ASTContext &Context); 254 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node, 299 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node, in match() 311 return match(Matcher, DynTypedNode::create(Node), Context); in match() 325 matchDynamic(internal::DynTypedMatcher Matcher, const DynTypedNode &Node, in matchDynamic() 338 return matchDynamic(Matcher, DynTypedNode::create(Node), Context); in matchDynamic()
|
| H A D | ASTMatchersInternal.h | 224 void addNode(StringRef ID, const DynTypedNode &DynNode) { 241 DynTypedNode getNode(StringRef ID) const { 244 return DynTypedNode(); 259 using IDToNodeMap = std::map<std::string, DynTypedNode, std::less<>>; 298 void setBinding(StringRef Id, const DynTypedNode &DynNode) { 381 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 478 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 803 virtual bool matchesChildOf(const DynTypedNode &Node, ASTContext &Ctx, 1821 static DynTypedNode extract(const NestedNameSpecifierLoc &Loc) { 1822 return DynTypedNode::create(*Loc.getNestedNameSpecifier()); [all …]
|
| H A D | ASTMatchers.h | 5216 Predicate.Node = DynTypedNode::create(Node); in AST_POLYMORPHIC_MATCHER_P() 7579 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P() 7630 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 52 static bool notUnaryOperator(const DynTypedNode &DynNode, 57 static bool allOfVariadicOperator(const DynTypedNode &DynNode, 62 static bool eachOfVariadicOperator(const DynTypedNode &DynNode, 67 static bool anyOfVariadicOperator(const DynTypedNode &DynNode, 112 const DynTypedNode &DynNode, ASTMatchFinder *Finder, 157 bool dynMatches(const DynTypedNode &, ASTMatchFinder *, in dynMatches() argument 286 bool DynTypedMatcher::matches(const DynTypedNode &DynNode, in matches() 365 static bool notUnaryOperator(const DynTypedNode &DynNode, in notUnaryOperator() 386 static bool allOfVariadicOperator(const DynTypedNode &DynNode, in allOfVariadicOperator() 398 static bool eachOfVariadicOperator(const DynTypedNode &DynNode, in eachOfVariadicOperator() [all …]
|
| H A D | ASTMatchFinder.cpp | 67 DynTypedNode Node; 115 bool findMatch(const DynTypedNode &DynNode) { in findMatch() 361 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match() 369 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match() 613 bool matchesRecursively(const DynTypedNode &Node, in matchesRecursively() 644 bool matchesChildOf(const DynTypedNode &Node, ASTContext &Ctx, in matchesChildOf() 677 void match(const DynTypedNode &Node) { in match() 823 void matchWithFilter(const DynTypedNode &DynNode) { in matchWithFilter() 870 return matchWithFilter(DynTypedNode::create(*Node)); in matchDispatch() 873 return matchWithFilter(DynTypedNode::create(*Node)); in matchDispatch() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiffInternal.h | 18 using DynTypedNode = DynTypedNode; variable
|
| H A D | ASTDiff.h | 40 DynTypedNode ASTNode;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 54 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode() 143 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in node() 156 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in statement() 190 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in member() 202 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in name() 260 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in operator ()()
|
| H A D | RewriteRule.cpp | 297 transformer::detail::rewriteDescendants(const DynTypedNode &DNode, in rewriteDescendants()
|
| H A D | Stencil.cpp | 36 static llvm::Expected<DynTypedNode>
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 52 DynTypedNode Node; 56 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 49 SelectedASTNode(DynTypedNode::create(*Context.getTranslationUnitDecl()), in ASTSelectionFinder() 97 SelectedASTNode(DynTypedNode::create(*D), SelectionKind)); in TraverseDecl() 125 SelectedASTNode(DynTypedNode::create(*S), SelectionKind)); in TraverseStmt() 424 const DynTypedNode &Node = Parent.get().Node; in isInFunctionLikeBodyOfCode() 442 const DynTypedNode &Node = Parent.get().Node; in getFunctionLikeNearestParent()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | EmptyNodeIntrospection.inc.in | 44 NodeIntrospection::GetLocations(clang::DynTypedNode const &) {
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | NodeIntrospection.h | 97 NodeLocationAccessors GetLocations(clang::DynTypedNode const &Node);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | RewriteRule.h | 418 rewriteDescendants(const DynTypedNode &Node, RewriteRule Rule,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 448 getClosestAncestorDecl(DynTypedNode::create(TargetLoc)), in VisitTypeLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 203 N.ASTNode = DynTypedNode::create(*ASTNode); in PreTraverse() 414 const DynTypedNode &DTN = N.ASTNode; in getNodeValue()
|