Home
last modified time | relevance | path

Searched refs:getFromNodeKind (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTTypeTraits.h58 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 DVariantValueTest.cpp188 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 DRegistryTest.cpp533 …::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 DRegistry.cpp649 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 DMarshallers.h96 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 DVariantValue.h186 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 DASTMatchersInternal.h416 : 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 DMatchSwitch.h140 DynTypedMatcher::VO_AnyOf, ASTNodeKind::getFromNodeKind<Stmt>(), in BuildMatcher()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp25 return ASTNodeKind::getFromNodeKind<T>(); in DNT()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersInternalTest.cpp148 ASTNodeKind::getFromNodeKind<QualType>(), in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp394 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 DUSRLocFinder.cpp487 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp352 auto QualKind = ASTNodeKind::getFromNodeKind<QualType>(); in canConvertTo()
353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo()