forked from OSchip/llvm-project
Same expressions on both sides of the return
Summary: I guess we want PointerToMemberFunction & PointerToDataMember Fix coverity cid 1376038 Reviewers: zturner Reviewed By: zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34110 llvm-svn: 305219
This commit is contained in:
parent
f9f69548a9
commit
337804d86a
|
@ -34,7 +34,7 @@ static inline PointerMode getPointerMode(uint32_t Attrs) {
|
|||
static inline bool isMemberPointer(uint32_t Attrs) {
|
||||
PointerMode Mode = getPointerMode(Attrs);
|
||||
return Mode == PointerMode::PointerToDataMember ||
|
||||
Mode == PointerMode::PointerToDataMember;
|
||||
Mode == PointerMode::PointerToMemberFunction;
|
||||
}
|
||||
|
||||
static inline uint32_t getEncodedIntegerLength(ArrayRef<uint8_t> Data) {
|
||||
|
|
Loading…
Reference in New Issue