Searched refs:DupKey (Results 1 – 1 of 1) sorted by relevance
14611 struct DupKey { struct14614 DupKey(int64_t val, bool isTombstoneOrEmptyKey) in DupKey() argument14618 static DupKey GetDupKey(const llvm::APSInt& Val) { in GetDupKey()14619 return DupKey(Val.isSigned() ? Val.getSExtValue() : Val.getZExtValue(), in GetDupKey()14624 static DupKey getEmptyKey() { return DupKey(0, true); } in getEmptyKey()14625 static DupKey getTombstoneKey() { return DupKey(1, true); } in getTombstoneKey()14626 static unsigned getHashValue(const DupKey Key) { in getHashValue()14629 static bool isEqual(const DupKey& LHS, const DupKey& RHS) { in isEqual()14655 typedef llvm::DenseMap<DupKey, DeclOrVector, DenseMapInfoDupKey> in CheckForDuplicateEnumValues()14675 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()[all …]