clang 20.0.0git
Public Types | Public Member Functions | List of all members
clang::Sema::SpecialMemberOverloadResult Class Reference

SpecialMemberOverloadResult - The overloading result for a special member function. More...

#include "clang/Sema/Sema.h"

Inheritance diagram for clang::Sema::SpecialMemberOverloadResult:
Inheritance graph
[legend]

Public Types

enum  Kind { NoMemberOrDeleted , Ambiguous , Success }
 

Public Member Functions

 SpecialMemberOverloadResult ()
 
 SpecialMemberOverloadResult (CXXMethodDecl *MD)
 
CXXMethodDeclgetMethod () const
 
void setMethod (CXXMethodDecl *MD)
 
Kind getKind () const
 
void setKind (Kind K)
 

Detailed Description

SpecialMemberOverloadResult - The overloading result for a special member function.

This is basically a wrapper around PointerIntPair. The lowest bits of the integer are used to determine whether overload resolution succeeded.

Definition at line 8935 of file Sema.h.

Member Enumeration Documentation

◆ Kind

Enumerator
NoMemberOrDeleted 
Ambiguous 
Success 

Definition at line 8937 of file Sema.h.

Constructor & Destructor Documentation

◆ SpecialMemberOverloadResult() [1/2]

clang::Sema::SpecialMemberOverloadResult::SpecialMemberOverloadResult ( )
inline

Definition at line 8943 of file Sema.h.

◆ SpecialMemberOverloadResult() [2/2]

clang::Sema::SpecialMemberOverloadResult::SpecialMemberOverloadResult ( CXXMethodDecl MD)
inline

Definition at line 8944 of file Sema.h.

Member Function Documentation

◆ getKind()

Kind clang::Sema::SpecialMemberOverloadResult::getKind ( ) const
inline

Definition at line 8950 of file Sema.h.

Referenced by findTrivialSpecialMember().

◆ getMethod()

CXXMethodDecl * clang::Sema::SpecialMemberOverloadResult::getMethod ( ) const
inline

◆ setKind()

void clang::Sema::SpecialMemberOverloadResult::setKind ( Kind  K)
inline

Definition at line 8951 of file Sema.h.

◆ setMethod()

void clang::Sema::SpecialMemberOverloadResult::setMethod ( CXXMethodDecl MD)
inline

Definition at line 8948 of file Sema.h.


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