mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix GCC compiler warning. NFC.
llvm-svn: 363269
This commit is contained in:
parent
8d0a5f62c4
commit
afa2240e40
@ -2561,19 +2561,19 @@ public:
|
||||
};
|
||||
|
||||
inline bool operator==(const DIExpression::FragmentInfo &A,
|
||||
const struct DIExpression::FragmentInfo &B) {
|
||||
const DIExpression::FragmentInfo &B) {
|
||||
return std::tie(A.SizeInBits, A.OffsetInBits) ==
|
||||
std::tie(B.SizeInBits, B.OffsetInBits);
|
||||
}
|
||||
|
||||
inline bool operator<(const struct DIExpression::FragmentInfo &A,
|
||||
const struct DIExpression::FragmentInfo &B) {
|
||||
inline bool operator<(const DIExpression::FragmentInfo &A,
|
||||
const DIExpression::FragmentInfo &B) {
|
||||
return std::tie(A.SizeInBits, A.OffsetInBits) <
|
||||
std::tie(B.SizeInBits, B.OffsetInBits);
|
||||
}
|
||||
|
||||
template <> struct DenseMapInfo<struct DIExpression::FragmentInfo> {
|
||||
using FragInfo = struct DIExpression::FragmentInfo;
|
||||
template <> struct DenseMapInfo<DIExpression::FragmentInfo> {
|
||||
using FragInfo = DIExpression::FragmentInfo;
|
||||
static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
|
||||
|
||||
static inline FragInfo getEmptyKey() { return {MaxVal, MaxVal}; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user