| // Part of the Crubit project, under the Apache License v2.0 with LLVM |
| // Exceptions. See /LICENSE for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| #ifndef CRUBIT_NULLABILITY_VERIFICATION_POINTER_NULLABILITY_MATCHERS_H_ |
| #define CRUBIT_NULLABILITY_VERIFICATION_POINTER_NULLABILITY_MATCHERS_H_ |
| |
| #include "clang/ASTMatchers/ASTMatchersInternal.h" |
| |
| namespace clang { |
| namespace tidy { |
| namespace nullability { |
| |
| ast_matchers::internal::Matcher<Stmt> isPointerVariableReference(); |
| ast_matchers::internal::Matcher<Stmt> isMemberExprInvolvingPointers(); |
| ast_matchers::internal::Matcher<Stmt> isCXXThisExpr(); |
| ast_matchers::internal::Matcher<Stmt> isNullPointerLiteral(); |
| ast_matchers::internal::Matcher<Stmt> isAddrOf(); |
| ast_matchers::internal::Matcher<Stmt> isPointerDereference(); |
| ast_matchers::internal::Matcher<Stmt> isPointerCheckBinOp(); |
| ast_matchers::internal::Matcher<Stmt> isImplicitCastPointerToBool(); |
| } // namespace nullability |
| } // namespace tidy |
| } // namespace clang |
| |
| #endif // CRUBIT_NULLABILITY_VERIFICATION_POINTER_NULLABILITY_MATCHERS_H_ |