Home
last modified time | relevance | path

Searched refs:hasAnyBody (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEqualsDeleteCheck.cpp39 unless(anyOf(hasAnyBody(stmt()), isDefaulted(), isDeleted(), in registerMatchers()
44 anyOf(PrivateSpecialFn, hasAnyBody(stmt()), isPure(), in registerMatchers()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp270 REGISTER_MATCHER(hasAnyBody); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp2086 EXPECT_TRUE(matches("void f() {}", functionDecl(hasAnyBody(compoundStmt())))); in TEST()
2088 functionDecl(hasAnyBody(compoundStmt())))); in TEST()
2091 functionDecl(hasAnyBody(compoundStmt())).bind("func"), in TEST()
2095 cxxMethodDecl(hasAnyBody(compoundStmt())).bind("met"), in TEST()
2099 cxxConstructorDecl(hasAnyBody(compoundStmt())).bind("ctr"), in TEST()
2103 cxxDestructorDecl(hasAnyBody(compoundStmt())).bind("dtr"), in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5516 AST_MATCHER_P(FunctionDecl, hasAnyBody, in AST_MATCHER_P() argument