| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTTypeTraits.h | 51 class ASTNodeKind { 58 return ASTNodeKind(KindToKindId<T>::Id); in getFromNodeKind() 81 bool isBaseOf(ASTNodeKind Other) const; 99 static ASTNodeKind getMostDerivedType(ASTNodeKind Kind1, ASTNodeKind Kind2); 104 static ASTNodeKind getMostDerivedCommonAncestor(ASTNodeKind Kind1, 107 ASTNodeKind getCladeKind() const; 112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey() 116 return ASTNodeKind(NKI_NumberOfKinds); in getTombstoneKey() 119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual() 500 ASTNodeKind NodeKind; [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTTypeTraits.cpp | 27 const ASTNodeKind::KindInfo ASTNodeKind::AllKindInfo[] = { 61 bool ASTNodeKind::isBaseOf(ASTNodeKind Other) const { in isBaseOf() 91 ASTNodeKind ASTNodeKind::getCladeKind() const { in getCladeKind() 104 ASTNodeKind ASTNodeKind::getMostDerivedType(ASTNodeKind Kind1, in getMostDerivedType() 111 ASTNodeKind ASTNodeKind::getMostDerivedCommonAncestor(ASTNodeKind Kind1, in getMostDerivedCommonAncestor() 120 ASTNodeKind ASTNodeKind::getFromNode(const Decl &D) { in getFromNode() 130 ASTNodeKind ASTNodeKind::getFromNode(const Stmt &S) { in getFromNode() 141 ASTNodeKind ASTNodeKind::getFromNode(const Type &T) { in getFromNode() 151 ASTNodeKind ASTNodeKind::getFromNode(const TypeLoc &T) { in getFromNode() 162 ASTNodeKind ASTNodeKind::getFromNode(const OMPClause &C) { in getFromNode() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 312 virtual ASTNodeKind nodeMatcherType() const { return ASTNodeKind(); } 584 std::vector<ASTNodeKind> RetKinds; 619 const ASTNodeKind DerivedKind; 934 ASTNodeKind CladeNodeKind; 935 std::vector<ASTNodeKind> NodeKinds; 1010 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 | 618 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { in nodeMatcherType() 663 ASTNodeKind InitialTypes[] = { in getAcceptedCompletionTypes() 664 ASTNodeKind::getFromNodeKind<Decl>(), in getAcceptedCompletionTypes() 665 ASTNodeKind::getFromNodeKind<QualType>(), in getAcceptedCompletionTypes() 666 ASTNodeKind::getFromNodeKind<Type>(), in getAcceptedCompletionTypes() 667 ASTNodeKind::getFromNodeKind<Stmt>(), in getAcceptedCompletionTypes() 670 ASTNodeKind::getFromNodeKind<TypeLoc>()}; in getAcceptedCompletionTypes() 703 std::set<ASTNodeKind> RetKinds; in getMatcherCompletions() 718 ASTNodeKind LeastDerivedKind; in getMatcherCompletions() 731 ASTNodeKind LeastDerivedKind; in getMatcherCompletions() [all …]
|
| H A D | VariantValue.cpp | 112 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 169 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 212 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override { in isConvertibleTo() 275 VariantValue::VariantValue(ASTNodeKind NodeKind) : Type(VT_Nothing) { in VariantValue() 397 const ASTNodeKind &VariantValue::getNodeKind() const { in getNodeKind() 402 void VariantValue::setNodeKind(ASTNodeKind NewValue) { in setNodeKind() 405 Value.NodeKind = new ASTNodeKind(NewValue); in setNodeKind()
|
| H A D | Parser.cpp | 528 ASTNodeKind NK = S->nodeMatcherType(*MappedMatcher); in parseMatcherBuilder() 859 ASTNodeKind Parser::RegistrySema::nodeMatcherType(MatcherCtor Ctor) const { in nodeMatcherType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 460 bool canMatchNodesOfKind(ASTNodeKind Kind) const; 517 bool canConvertTo(ASTNodeKind To) const; 544 DynTypedMatcher(ASTNodeKind SupportedKind, ASTNodeKind RestrictKind, 550 ASTNodeKind SupportedKind; 556 ASTNodeKind RestrictKind; 584 ASTNodeKind::getFromNodeKind<T>())); 670 ASTNodeKind::getFromNodeKind<T>())); 836 const ASTNodeKind SourceKind = getSupportedKind(); 1356 Op, ASTNodeKind::getFromNodeKind<T>(), 1533 ASTNodeKind::getFromNodeKind<T>()) [all …]
|
| /freebsd-14.2/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() 351 bool DynTypedMatcher::canConvertTo(ASTNodeKind To) const { in canConvertTo() 353 auto QualKind = ASTNodeKind::getFromNodeKind<QualType>(); in canConvertTo() 354 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo()
|
| H A D | ASTMatchFinder.cpp | 1071 const std::vector<unsigned short> &getFilterForKind(ASTNodeKind Kind) { in getFilterForKind() 1329 llvm::DenseMap<ASTNodeKind, std::vector<unsigned short>> MatcherFiltersMap;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 45 ASTNodeKind getType() const;
|
| /freebsd-14.2/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 | 415 std::map<ASTNodeKind, in buildMatchers()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | MatchSwitch.h | 164 DynTypedMatcher::VO_AnyOf, ASTNodeKind::getFromNodeKind<BaseT>(), in BuildMatcher()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 488 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 686 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); } in getType()
|