Searched refs:forFunction (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | InfiniteLoopCheck.cpp | 121 expr(forFunction(functionDecl().bind("func"))).bind("condition")), in registerMatchers() 123 loopEndingStmt(forFunction(equalsBoundNode("func"))))))); in registerMatchers()
|
D | RedundantBranchConditionCheck.cpp | 60 forFunction(functionDecl().bind(FuncStr))) in registerMatchers()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 2860 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/ |
D | UnconventionalAssignOperatorCheck.cpp | 66 Finder->addMatcher(returnStmt(IsBadReturnStatement, forFunction(IsGoodAssign)) in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 1994 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/ |
D | RenamerClangTidyCheck.cpp | 124 unless(forFunction(anyOf(isDefaulted(), isImplicit()))); in registerMatchers()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 188 REGISTER_MATCHER(forFunction); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 237 REGISTER_MATCHER(forFunction); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5367 AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, in AST_MATCHER_P() argument
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 7192 AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, in AST_MATCHER_P() argument
|