Home
last modified time | relevance | path

Searched refs:forFunction (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp1586 forFunction(functionDecl(hasName("opMem"))), in TEST()
1591 forFunction(functionDecl(hasName("opMem"))), in TEST()
1596 forFunction(functionDecl(hasName("opMem"))), in TEST()
3765 returnStmt(forFunction(functionDecl(hasName("func10"))), in TEST()
3773 hasParent(returnStmt(forFunction( in TEST()
3781 returnStmt(forFunction(functionDecl(hasName("func11"))), in TEST()
3797 returnStmt(forFunction(functionDecl(hasName("func12"))), in TEST()
3813 lambdaExpr(forFunction(functionDecl(hasName("func13"))), in TEST()
5666 returnStmt(forFunction(hasName("operator=")), in TEST()
5671 returnStmt(forFunction(hasName("operator=")), in TEST()
[all …]
H A DASTMatchersNarrowingTest.cpp590 forFunction(functionDecl(hasName("binop"))), in TEST_P()
599 forFunction(functionDecl(hasName("opMem"))), in TEST_P()
608 forFunction(functionDecl(hasName("opFree"))), in TEST_P()
648 forFunction(functionDecl(hasName("binop"))), in TEST_P()
660 forFunction(functionDecl(hasName("opMem"))), in TEST_P()
672 forFunction(functionDecl(hasName("opFree"))), in TEST_P()
700 forFunction(functionDecl(hasName("binop"))), in TEST_P()
708 forFunction(functionDecl(hasName("opMem"))), in TEST_P()
716 forFunction(functionDecl(hasName("opFree"))), in TEST_P()
724 forFunction(functionDecl(hasName("templ"))), in TEST_P()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DReturnBracedInitListCheck.cpp31 forFunction(functionDecl(returns(unless(anyOf(builtinType(), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnconventionalAssignOperatorCheck.cpp67 Finder->addMatcher(returnStmt(IsBadReturnStatement, forFunction(IsGoodAssign)) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DRedundantBranchConditionCheck.cpp69 forFunction(functionDecl().bind(FuncStr))) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerSizeEmptyCheck.cpp73 returnStmt(forFunction(returns(booleanType()))), in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp124 unless(forFunction(anyOf(isDefaulted(), isImplicit()))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp255 REGISTER_MATCHER(forFunction); in RegistryMaps()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7988 AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, in AST_MATCHER_P() argument