clang API Documentation
#include <Sema.h>
Public Types | |
enum | Kind { NoMemberOrDeleted, Ambiguous, Success } |
Public Member Functions | |
SpecialMemberOverloadResult (const llvm::FoldingSetNodeID &ID) | |
CXXMethodDecl * | getMethod () const |
void | setMethod (CXXMethodDecl *MD) |
Kind | getKind () const |
void | setKind (Kind K) |
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.
clang::Sema::SpecialMemberOverloadResult::SpecialMemberOverloadResult | ( | const llvm::FoldingSetNodeID & | ID | ) | [inline] |
Kind clang::Sema::SpecialMemberOverloadResult::getKind | ( | ) | const [inline] |
Definition at line 848 of file Sema.h.
Referenced by findTrivialSpecialMember().
CXXMethodDecl* clang::Sema::SpecialMemberOverloadResult::getMethod | ( | ) | const [inline] |
Definition at line 845 of file Sema.h.
Referenced by checkMoveAssignmentForRepeatedMove(), findTrivialSpecialMember(), clang::Sema::LookupCopyingAssignment(), clang::Sema::LookupCopyingConstructor(), clang::Sema::LookupDefaultConstructor(), clang::Sema::LookupMovingAssignment(), clang::Sema::LookupMovingConstructor(), and specialMemberIsConstexpr().
void clang::Sema::SpecialMemberOverloadResult::setKind | ( | Kind | K | ) | [inline] |
Definition at line 849 of file Sema.h.
Referenced by clang::Sema::LookupSpecialMember().
void clang::Sema::SpecialMemberOverloadResult::setMethod | ( | CXXMethodDecl * | MD | ) | [inline] |
Definition at line 846 of file Sema.h.
Referenced by clang::Sema::LookupSpecialMember().