forked from OSchip/llvm-project
[CodeView] Extend the `MemberAttributes` interface with the `isStatic` method
Summary: This patch extends the MemberAttributes interface with the isStatic method. It is needed for D56126. Reviewers: zturner, rnk Reviewed By: zturner Differential Revision: https://reviews.llvm.org/D56127 llvm-svn: 350125
This commit is contained in:
parent
d1ca603770
commit
d5b685a9b2
|
@ -95,6 +95,11 @@ struct MemberAttributes {
|
|||
return MP == MethodKind::IntroducingVirtual ||
|
||||
MP == MethodKind::PureIntroducingVirtual;
|
||||
}
|
||||
|
||||
/// Is this method static.
|
||||
bool isStatic() const {
|
||||
return getMethodKind() == MethodKind::Static;
|
||||
}
|
||||
};
|
||||
|
||||
// Does not correspond to any tag, this is the tail of an LF_POINTER record
|
||||
|
|
Loading…
Reference in New Issue