Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInfiniteLoopCheck.cpp121 expr(forFunction(functionDecl().bind("func"))).bind("condition")), in registerMatchers()
123 loopEndingStmt(forFunction(equalsBoundNode("func"))))))); in registerMatchers()
DRedundantBranchConditionCheck.cpp60 forFunction(functionDecl().bind(FuncStr))) in registerMatchers()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp2860 returnStmt(forFunction(functionDecl(hasName("func1"))), in TEST()
2868 hasParent(returnStmt(forFunction( in TEST()
2875 returnStmt(forFunction(functionDecl(hasName("func2"))), in TEST()
2885 forFunction(functionDecl(hasName("func2"))))))))), in TEST()
2891 returnStmt(forFunction(functionDecl(hasName("func3"))), in TEST()
2902 forFunction(functionDecl(hasName("func3"))))))))), in TEST()
2908 returnStmt(forFunction(functionDecl(hasName("func4"))), in TEST()
2915 returnStmt(forFunction(functionDecl(hasName("func5"))), in TEST()
2922 returnStmt(forFunction(functionDecl(hasName("func6"))), in TEST()
2929 returnStmt(forFunction(functionDecl(hasName("func7"))), in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnconventionalAssignOperatorCheck.cpp66 Finder->addMatcher(returnStmt(IsBadReturnStatement, forFunction(IsGoodAssign)) in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1994 returnStmt(forFunction(hasName("operator=")), in TEST()
1999 returnStmt(forFunction(hasName("operator=")), in TEST()
2004 returnStmt(forFunction(hasName("operator()")), in TEST()
2006 EXPECT_TRUE(matches(CppString2, returnStmt(forFunction(hasName("F2"))))); in TEST()
2007 EXPECT_TRUE(notMatches(CppString2, returnStmt(forFunction(hasName("F"))))); in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp124 unless(forFunction(anyOf(isDefaulted(), isImplicit()))); in registerMatchers()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp188 REGISTER_MATCHER(forFunction); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp237 REGISTER_MATCHER(forFunction); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h5367 AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, in AST_MATCHER_P() argument
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h7192 AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, in AST_MATCHER_P() argument