|
LLVM
4.0.0
|
Equvalent to CV_fldattr_t in cvinfo.h. More...
#include <TypeRecord.h>
Public Types | |
| enum | { MethodKindShift = 2 } |
Public Member Functions | |
| MemberAttributes ()=default | |
| MemberAttributes (MemberAccess Access) | |
| MemberAttributes (MemberAccess Access, MethodKind Kind, MethodOptions Flags) | |
| MemberAccess | getAccess () const |
| Get the access specifier. Valid for any kind of member. More... | |
| MethodKind | getMethodKind () const |
| Indicates if a method is defined with friend, virtual, static, etc. More... | |
| MethodOptions | getFlags () const |
| Get the flags that are not included in access control or method properties. More... | |
| bool | isVirtual () const |
| Is this method virtual. More... | |
| bool | isIntroducedVirtual () const |
| Does this member introduce a new virtual method. More... | |
Public Attributes | |
| uint16_t | Attrs = 0 |
Equvalent to CV_fldattr_t in cvinfo.h.
Definition at line 48 of file TypeRecord.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MethodKindShift | |
Definition at line 50 of file TypeRecord.h.
|
default |
|
inlineexplicit |
Definition at line 55 of file TypeRecord.h.
|
inline |
Definition at line 58 of file TypeRecord.h.
References Attrs, fuzzer::Flags, Kind, and MethodKindShift.
|
inline |
Get the access specifier. Valid for any kind of member.
Definition at line 65 of file TypeRecord.h.
References llvm::codeview::AccessMask, and Attrs.
Referenced by llvm::codeview::OneMethodRecord::getAccess(), llvm::codeview::DataMemberRecord::getAccess(), llvm::codeview::StaticDataMemberRecord::getAccess(), llvm::codeview::EnumeratorRecord::getAccess(), llvm::codeview::BaseClassRecord::getAccess(), and llvm::codeview::VirtualBaseClassRecord::getAccess().
|
inline |
Get the flags that are not included in access control or method properties.
Definition at line 78 of file TypeRecord.h.
References llvm::codeview::AccessMask, Attrs, and llvm::codeview::MethodKindMask.
Referenced by llvm::codeview::OneMethodRecord::getOptions().
|
inline |
Indicates if a method is defined with friend, virtual, static, etc.
Definition at line 70 of file TypeRecord.h.
References Attrs, llvm::codeview::MethodKindMask, and MethodKindShift.
Referenced by llvm::codeview::OneMethodRecord::getMethodKind(), isIntroducedVirtual(), and isVirtual().
|
inline |
Does this member introduce a new virtual method.
Definition at line 92 of file TypeRecord.h.
References getMethodKind(), llvm::codeview::IntroducingVirtual, and llvm::codeview::PureIntroducingVirtual.
|
inline |
Is this method virtual.
Definition at line 85 of file TypeRecord.h.
References llvm::codeview::Friend, getMethodKind(), llvm::codeview::Static, and llvm::codeview::Vanilla.
| uint16_t llvm::codeview::MemberAttributes::Attrs = 0 |
Definition at line 49 of file TypeRecord.h.
Referenced by getAccess(), getFlags(), getMethodKind(), and MemberAttributes().
1.8.6