clang  6.0.0svn
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 1025 of file Sema.h.

Member Enumeration Documentation

◆ Kind

Enumerator
NoMemberOrDeleted 
Ambiguous 
Success 

Definition at line 1027 of file Sema.h.

Constructor & Destructor Documentation

◆ SpecialMemberOverloadResult() [1/2]

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

Definition at line 1037 of file Sema.h.

◆ SpecialMemberOverloadResult() [2/2]

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

Definition at line 1038 of file Sema.h.

Member Function Documentation

◆ getKind()

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

Definition at line 1044 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 1045 of file Sema.h.

Referenced by clang::Sema::LookupSpecialMember().

◆ setMethod()

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

Definition at line 1042 of file Sema.h.

Referenced by clang::Sema::LookupSpecialMember().


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