| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTTypeTraits.h | 52 class ASTNodeKind { 55 ASTNodeKind() : KindId(NKI_None) {} in ASTNodeKind() function 59 static ASTNodeKind getFromNodeKind() { in getFromNodeKind() 72 bool isSame(ASTNodeKind Other) const { in isSame() 95 static ASTNodeKind getMostDerivedType(ASTNodeKind Kind1, ASTNodeKind Kind2); 100 static ASTNodeKind getMostDerivedCommonAncestor(ASTNodeKind Kind1, 103 ASTNodeKind getCladeKind() const; 108 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey() 115 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual() 453 ASTNodeKind NodeKind; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTTypeTraits.cpp | 23 const ASTNodeKind::KindInfo ASTNodeKind::AllKindInfo[] = { 49 bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const { in isBaseOf() 66 ASTNodeKind ASTNodeKind::getCladeKind() const { in getCladeKind() 79 ASTNodeKind ASTNodeKind::getMostDerivedType(ASTNodeKind Kind1, in getMostDerivedType() 83 return ASTNodeKind(); in getMostDerivedType() 86 ASTNodeKind ASTNodeKind::getMostDerivedCommonAncestor(ASTNodeKind Kind1, in getMostDerivedCommonAncestor() 92 return ASTNodeKind(Parent); in getMostDerivedCommonAncestor() 95 ASTNodeKind ASTNodeKind::getFromNode(const Decl &D) { in getFromNode() 105 ASTNodeKind ASTNodeKind::getFromNode(const Stmt &S) { in getFromNode() 116 ASTNodeKind ASTNodeKind::getFromNode(const Type &T) { in getFromNode() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 52 static ArgKind MakeNodeArg(ASTNodeKind MatcherKind) { in MakeNodeArg() 57 ASTNodeKind getMatcherKind() const { in getMatcherKind() 61 ASTNodeKind getNodeKind() const { in getNodeKind() 87 ASTNodeKind NodeKind; 126 ASTNodeKind NodeKind; 139 virtual bool isConvertibleTo(ASTNodeKind Kind, 189 bool hasTypedMatcher(ASTNodeKind NK) const { in hasTypedMatcher() 267 VariantValue(ASTNodeKind NodeKind); 298 const ASTNodeKind &getNodeKind() const; 299 void setNodeKind(ASTNodeKind NodeKind); [all …]
|
| H A D | Parser.h | 105 virtual ASTNodeKind nodeMatcherType(MatcherCtor) const = 0; 155 ASTNodeKind nodeMatcherType(MatcherCtor) const override;
|
| H A D | Registry.h | 86 static ASTNodeKind nodeMatcherType(MatcherCtor);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 312 virtual ASTNodeKind nodeMatcherType() const { return ASTNodeKind(); } 583 std::vector<ASTNodeKind> RetKinds; 618 const ASTNodeKind DerivedKind; 933 ASTNodeKind CladeNodeKind; 934 std::vector<ASTNodeKind> NodeKinds; 1009 std::vector<ASTNodeKind> NodeKinds; 1059 std::vector<ASTNodeKind> RetTypes; 1070 std::vector<ASTNodeKind> RetTypes; 1083 std::vector<ASTNodeKind> RetTypes; 1096 std::vector<ASTNodeKind> RetTypes; [all …]
|
| H A D | Registry.cpp | 578 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { in nodeMatcherType() 624 ASTNodeKind InitialTypes[] = { in getAcceptedCompletionTypes() 625 ASTNodeKind::getFromNodeKind<Decl>(), in getAcceptedCompletionTypes() 626 ASTNodeKind::getFromNodeKind<QualType>(), in getAcceptedCompletionTypes() 627 ASTNodeKind::getFromNodeKind<Type>(), in getAcceptedCompletionTypes() 628 ASTNodeKind::getFromNodeKind<Stmt>(), in getAcceptedCompletionTypes() 631 ASTNodeKind::getFromNodeKind<TypeLoc>()}; in getAcceptedCompletionTypes() 664 std::set<ASTNodeKind> RetKinds; in getMatcherCompletions() 679 ASTNodeKind LeastDerivedKind; in getMatcherCompletions() 692 ASTNodeKind LeastDerivedKind; in getMatcherCompletions() [all …]
|
| H A D | VariantValue.cpp | 111 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 168 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 211 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 274 VariantValue::VariantValue(ASTNodeKind NodeKind) : Type(VT_Nothing) { in VariantValue() 396 const ASTNodeKind &VariantValue::getNodeKind() const { in getNodeKind() 401 void VariantValue::setNodeKind(ASTNodeKind NewValue) { in setNodeKind() 404 Value.NodeKind = new ASTNodeKind(NewValue); in setNodeKind()
|
| H A D | Parser.cpp | 530 ASTNodeKind NK = S->nodeMatcherType(*MappedMatcher); in parseMatcherBuilder() 861 ASTNodeKind Parser::RegistrySema::nodeMatcherType(MatcherCtor Ctor) const { in nodeMatcherType()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 465 bool canMatchNodesOfKind(ASTNodeKind Kind) const; 522 bool canConvertTo(ASTNodeKind To) const; 549 DynTypedMatcher(ASTNodeKind SupportedKind, ASTNodeKind RestrictKind, 555 ASTNodeKind SupportedKind; 561 ASTNodeKind RestrictKind; 589 ASTNodeKind::getFromNodeKind<T>())); 681 ASTNodeKind::getFromNodeKind<T>())); 844 const ASTNodeKind SourceKind = getSupportedKind(); 1359 Op, ASTNodeKind::getFromNodeKind<T>(), 1557 ASTNodeKind::getFromNodeKind<T>()) [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 197 ASTNodeKind SupportedKind, in constructVariadic() 220 ASTNodeKind::getMostDerivedType(RestrictKind, IM.RestrictKind); in constructVariadic() 253 ASTNodeKind RestrictKind) { in constructRestrictedWrapper() 266 DynTypedMatcher DynTypedMatcher::trueMatcher(ASTNodeKind NodeKind) { in trueMatcher() 275 bool DynTypedMatcher::canMatchNodesOfKind(ASTNodeKind Kind) const { in canMatchNodesOfKind() 279 DynTypedMatcher DynTypedMatcher::dynCastTo(const ASTNodeKind Kind) const { in dynCastTo() 282 Copy.RestrictKind = ASTNodeKind::getMostDerivedType(Kind, RestrictKind); in dynCastTo() 350 bool DynTypedMatcher::canConvertTo(ASTNodeKind To) const { in canConvertTo() 352 auto QualKind = ASTNodeKind::getFromNodeKind<QualType>(); in canConvertTo() 353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo()
|
| H A D | ASTMatchFinder.cpp | 855 const std::vector<unsigned short> &getFilterForKind(ASTNodeKind Kind) { in getFilterForKind() 1097 llvm::DenseMap<ASTNodeKind, std::vector<unsigned short>> MatcherFiltersMap;
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 44 ASTNodeKind getType() const;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 36 static Error typeError(StringRef ID, const ASTNodeKind &Kind) { in typeError() 41 static Error typeError(StringRef ID, const ASTNodeKind &Kind, in typeError()
|
| H A D | RewriteRule.cpp | 382 std::map<ASTNodeKind, SmallVector<std::pair<size_t, RewriteRule::Case>, 1>> in buildMatchers()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 487 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 687 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); } in getType()
|