[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 09:07:48 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL350125: [CodeView] Extend the `MemberAttributes` interface with the `isStatic` method (authored by aleksandr.urakov, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56127?vs=179625&id=179640#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56127/new/
https://reviews.llvm.org/D56127
Files:
llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
Index: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
===================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
+++ llvm/trunk/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.179640.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181228/98b08cee/attachment.bin>
More information about the llvm-commits
mailing list