clang 20.0.0git
Public Member Functions | List of all members
clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr Class Reference

A smart (owning) pointer for MatcherDescriptor. More...

#include "clang/ASTMatchers/Dynamic/Registry.h"

Public Member Functions

 MatcherDescriptorPtr (MatcherDescriptor *)
 
 ~MatcherDescriptorPtr ()
 
 MatcherDescriptorPtr (MatcherDescriptorPtr &&)=default
 
MatcherDescriptorPtroperator= (MatcherDescriptorPtr &&)=default
 
 MatcherDescriptorPtr (const MatcherDescriptorPtr &)=delete
 
MatcherDescriptorPtroperator= (const MatcherDescriptorPtr &)=delete
 
MatcherDescriptorget ()
 

Detailed Description

A smart (owning) pointer for MatcherDescriptor.

We can't use unique_ptr because MatcherDescriptor is forward declared

Definition at line 38 of file Registry.h.

Constructor & Destructor Documentation

◆ MatcherDescriptorPtr() [1/3]

clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::MatcherDescriptorPtr ( MatcherDescriptor Ptr)
explicit

Definition at line 623 of file Registry.cpp.

◆ ~MatcherDescriptorPtr()

clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::~MatcherDescriptorPtr ( )

Definition at line 626 of file Registry.cpp.

◆ MatcherDescriptorPtr() [2/3]

clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::MatcherDescriptorPtr ( MatcherDescriptorPtr &&  )
default

◆ MatcherDescriptorPtr() [3/3]

clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::MatcherDescriptorPtr ( const MatcherDescriptorPtr )
delete

Member Function Documentation

◆ get()

MatcherDescriptor * clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::get ( )
inline

Definition at line 47 of file Registry.h.

◆ operator=() [1/2]

MatcherDescriptorPtr & clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::operator= ( const MatcherDescriptorPtr )
delete

◆ operator=() [2/2]

MatcherDescriptorPtr & clang::ast_matchers::dynamic::internal::MatcherDescriptorPtr::operator= ( MatcherDescriptorPtr &&  )
default

The documentation for this class was generated from the following files: