clang 22.0.0git
SmartPointerAccessorCaching.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::dataflow
 Dataflow Directional Tag Classes.

Functions

ast_matchers::StatementMatcher clang::dataflow::isSmartPointerLikeOperatorStar ()
ast_matchers::StatementMatcher clang::dataflow::isSmartPointerLikeOperatorArrow ()
ast_matchers::StatementMatcher clang::dataflow::isPointerLikeOperatorStar ()
 Matchers: For now, these match on any class with an operator* or operator-> where the return types have a similar shape as std::unique_ptr and std::optional.
ast_matchers::StatementMatcher clang::dataflow::isPointerLikeOperatorArrow ()
ast_matchers::StatementMatcher clang::dataflow::isSmartPointerLikeValueMethodCall (clang::StringRef MethodName="value")
ast_matchers::StatementMatcher clang::dataflow::isSmartPointerLikeGetMethodCall (clang::StringRef MethodName="get")
const FunctionDeclclang::dataflow::getCanonicalSmartPointerLikeOperatorCallee (const CallExpr *CE)
 Returns the "canonical" callee for smart pointer operators (* and ->) as a key for caching.
internal::Matcher< NamedDeclclang::dataflow::hasName (StringRef Name)
 Matches NamedDecl nodes that have the specified name.
internal::PolymorphicMatcher< internal::HasOverloadedOperatorNameMatcher, AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), std::vector< std::string > > clang::dataflow::hasOverloadedOperatorName (StringRef Name)
 Matches overloaded operator names.

Variables

const internal::VariadicDynCastAllOfMatcher< Stmt, CXXMemberCallExprclang::dataflow::cxxMemberCallExpr
 Matches member call expressions.
const internal::VariadicDynCastAllOfMatcher< Decl, CXXMethodDeclclang::dataflow::cxxMethodDecl
 Matches method declarations.
const internal::VariadicDynCastAllOfMatcher< Stmt, CXXOperatorCallExprclang::dataflow::cxxOperatorCallExpr
 Matches overloaded operator calls.
const AstTypeMatcher< PointerTypeclang::dataflow::pointerType
const AstTypeMatcher< ReferenceTypeclang::dataflow::referenceType