[PATCH] D56127: [CodeView] Extend the `MemberAttributes` interface with the `isStatic` method
Aleksandr Urakov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 04:32:04 PST 2018
aleksandr.urakov updated this revision to Diff 179625.
aleksandr.urakov added a comment.
Fix a typo.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56127/new/
https://reviews.llvm.org/D56127
Files:
include/llvm/DebugInfo/CodeView/TypeRecord.h
Index: include/llvm/DebugInfo/CodeView/TypeRecord.h
===================================================================
--- include/llvm/DebugInfo/CodeView/TypeRecord.h
+++ include/llvm/DebugInfo/CodeView/TypeRecord.h
@@ -95,6 +95,11 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56127.179625.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181228/4593ab3f/attachment.bin>
More information about the llvm-commits
mailing list