Home
last modified time | relevance | path

Searched refs:IsAHandle (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DDanglingHandleCheck.cpp25 handleFrom(const ast_matchers::internal::Matcher<RecordDecl> &IsAHandle, in handleFrom() argument
28 anyOf(cxxConstructExpr(hasDeclaration(cxxMethodDecl(ofClass(IsAHandle))), in handleFrom()
30 cxxMemberCallExpr(hasType(cxxRecordDecl(IsAHandle)), in handleFrom()
36 const ast_matchers::internal::Matcher<RecordDecl> &IsAHandle) { in handleFromTemporaryValue() argument
44 return handleFrom(IsAHandle, anyOf(cxxBindTemporaryExpr(), TemporaryTernary)); in handleFromTemporaryValue()
63 const ast_matchers::internal::Matcher<RecordDecl> &IsAHandle) { in makeContainerMatcher() argument
72 ignoringParenImpCasts(handleFromTemporaryValue(IsAHandle))), in makeContainerMatcher()
97 IsAHandle(cxxRecordDecl(hasAnyName(std::vector<StringRef>( in DanglingHandleCheck()
107 const auto ConvertedHandle = handleFromTemporaryValue(IsAHandle); in registerMatchersForVariables()
112 recordType(hasDeclaration(cxxRecordDecl(IsAHandle))))), in registerMatchersForVariables()
[all …]
DDanglingHandleCheck.h35 const ast_matchers::internal::Matcher<RecordDecl> IsAHandle; variable