Searched refs:getFromNodeKind (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTTypeTraits.h | 58 static ASTNodeKind getFromNodeKind() { in getFromNodeKind() function 314 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 347 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 413 if (ASTNodeKind::getFromNodeKind<T>().isBaseOf(NodeKind)) 433 if (ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind)) 438 assert(ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind)); 444 Result.NodeKind = ASTNodeKind::getFromNodeKind<T>(); 453 if (ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind)) 458 assert(ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind)); 463 Result.NodeKind = ASTNodeKind::getFromNodeKind<T>(); [all …]
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | VariantValueTest.cpp | 188 VariantValue Value = ASTNodeKind::getFromNodeKind<Stmt>(); in TEST() 190 EXPECT_TRUE(Value.getNodeKind().isSame(ASTNodeKind::getFromNodeKind<Stmt>())); in TEST() 192 Value = ASTNodeKind::getFromNodeKind<CXXMethodDecl>(); in TEST() 195 ASTNodeKind::getFromNodeKind<CXXMethodDecl>())); in TEST() 197 Value.setNodeKind(ASTNodeKind::getFromNodeKind<PointerType>()); in TEST() 200 Value.getNodeKind().isSame(ASTNodeKind::getFromNodeKind<PointerType>())); in TEST()
|
| H A D | RegistryTest.cpp | 533 …::buildMatcherCtor(Ctor, {}, Args(ASTNodeKind::getFromNodeKind<WhileStmt>(), ASTNodeKind::getFromN… in TEST_F() 540 …:buildMatcherCtor(Ctor, {}, Args(ASTNodeKind::getFromNodeKind<FunctionDecl>(), ASTNodeKind::getFro… in TEST_F() 545 …:nodeMatcherType(*lookupMatcherCtor("callExpr")).isSame(ASTNodeKind::getFromNodeKind<CallExpr>())); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 649 ASTNodeKind::getFromNodeKind<Decl>(), in getAcceptedCompletionTypes() 650 ASTNodeKind::getFromNodeKind<QualType>(), in getAcceptedCompletionTypes() 651 ASTNodeKind::getFromNodeKind<Type>(), in getAcceptedCompletionTypes() 652 ASTNodeKind::getFromNodeKind<Stmt>(), in getAcceptedCompletionTypes() 653 ASTNodeKind::getFromNodeKind<NestedNameSpecifier>(), in getAcceptedCompletionTypes() 654 ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>(), in getAcceptedCompletionTypes() 655 ASTNodeKind::getFromNodeKind<TypeLoc>()}; in getAcceptedCompletionTypes()
|
| H A D | Marshallers.h | 96 return ArgKind::MakeMatcherArg(ASTNodeKind::getFromNodeKind<T>()); 459 RetTypes.push_back(ASTNodeKind::getFromNodeKind<typename T::head>()); 478 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); 485 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); 596 DerivedKind(ASTNodeKind::getFromNodeKind<DerivedT>()) {} 1161 ASTNodeKind::getFromNodeKind<CladeType>(), 1162 std::vector<ASTNodeKind>{ASTNodeKind::getFromNodeKind<MatcherT>()...});
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 186 return hasTypedMatcher(ASTNodeKind::getFromNodeKind<T>()); in hasTypedMatcher() 213 return Value->getTypedMatcher(MatcherOps(ASTNodeKind::getFromNodeKind<T>())) in getTypedMatcher()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 416 : SupportedKind(ASTNodeKind::getFromNodeKind<T>()), 516 return canConvertTo(ASTNodeKind::getFromNodeKind<T>()); 585 ASTNodeKind::getFromNodeKind<T>())); 665 return Other.dynCastTo(ASTNodeKind::getFromNodeKind<T>()); 671 ASTNodeKind::getFromNodeKind<T>())); 838 if (SourceKind.isSame(ASTNodeKind::getFromNodeKind<Type>())) { 1261 return DynTypedMatcher::trueMatcher(ASTNodeKind::getFromNodeKind<T>()) 1357 Op, ASTNodeKind::getFromNodeKind<T>(), 1364 Op, ASTNodeKind::getFromNodeKind<T>(), 1549 ASTNodeKind::getFromNodeKind<T>()) [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | MatchSwitch.h | 140 DynTypedMatcher::VO_AnyOf, ASTNodeKind::getFromNodeKind<Stmt>(), in BuildMatcher()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTTypeTraitsTest.cpp | 25 return ASTNodeKind::getFromNodeKind<T>(); in DNT()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersInternalTest.cpp | 148 ASTNodeKind::getFromNodeKind<QualType>(), in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 394 if (NodeKind.isSame(ASTNodeKind::getFromNodeKind<OverrideAttr>()) || in locateASTReferent() 395 NodeKind.isSame(ASTNodeKind::getFromNodeKind<FinalAttr>())) { in locateASTReferent() 542 return NodeKind.isSame(ASTNodeKind::getFromNodeKind<OverloadExpr>()) || in isDependentName() 544 ASTNodeKind::getFromNodeKind<CXXDependentScopeMemberExpr>()) || in isDependentName() 546 ASTNodeKind::getFromNodeKind<DependentScopeDeclRefExpr>()); in isDependentName()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 487 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 352 auto QualKind = ASTNodeKind::getFromNodeKind<QualType>(); in canConvertTo() 353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo()
|