|
LLVM 24.0.0git
|
Equvalent to CV_fldattr_t in cvinfo.h. More...
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
Public Types | |
| enum | { MethodKindShift = 2 } |
Public Member Functions | |
| MemberAttributes ()=default | |
| MemberAttributes (MemberAccess Access) | |
| MemberAttributes (MemberAccess Access, MethodKind Kind, MethodOptions Flags) | |
| constexpr bool | operator== (const MemberAttributes &Rhs) const noexcept |
| MemberAccess | getAccess () const |
| Get the access specifier. Valid for any kind of member. | |
| MethodKind | getMethodKind () const |
| Indicates if a method is defined with friend, virtual, static, etc. | |
| MethodOptions | getFlags () const |
| Get the flags that are not included in access control or method properties. | |
| bool | isVirtual () const |
| Is this method virtual. | |
| bool | isIntroducedVirtual () const |
| Does this member introduce a new virtual method. | |
| bool | isStatic () const |
| Is this method static. | |
Public Attributes | |
| uint16_t | Attrs = 0 |
Equvalent to CV_fldattr_t in cvinfo.h.
Definition at line 40 of file TypeRecord.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MethodKindShift | |
Definition at line 43 of file TypeRecord.h.
|
default |
Referenced by operator==().
|
inlineexplicit |
Definition at line 49 of file TypeRecord.h.
|
inline |
Definition at line 52 of file TypeRecord.h.
References Access, Attrs, and MethodKindShift.
|
inline |
Get the access specifier. Valid for any kind of member.
Definition at line 63 of file TypeRecord.h.
References llvm::codeview::AccessMask, and Attrs.
|
inline |
Get the flags that are not included in access control or method properties.
Definition at line 76 of file TypeRecord.h.
References llvm::codeview::AccessMask, Attrs, and llvm::codeview::MethodKindMask.
|
inline |
Indicates if a method is defined with friend, virtual, static, etc.
Definition at line 68 of file TypeRecord.h.
References Attrs, llvm::codeview::MethodKindMask, and MethodKindShift.
Referenced by isIntroducedVirtual(), isStatic(), and isVirtual().
|
inline |
Does this member introduce a new virtual method.
Definition at line 90 of file TypeRecord.h.
References getMethodKind(), llvm::codeview::IntroducingVirtual, and llvm::codeview::PureIntroducingVirtual.
|
inline |
Is this method static.
Definition at line 97 of file TypeRecord.h.
References getMethodKind(), and llvm::codeview::Static.
|
inline |
Is this method virtual.
Definition at line 83 of file TypeRecord.h.
References llvm::codeview::Friend, getMethodKind(), llvm::codeview::Static, and llvm::codeview::Vanilla.
|
inlineconstexprnoexcept |
Definition at line 58 of file TypeRecord.h.
References Attrs, and MemberAttributes().
| uint16_t llvm::codeview::MemberAttributes::Attrs = 0 |
Definition at line 41 of file TypeRecord.h.
Referenced by getAccess(), getFlags(), getMethodKind(), MemberAttributes(), MemberAttributes(), and operator==().