mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 03:40:35 +00:00
Remove warning about default covering no cases.
llvm-svn: 175846
This commit is contained in:
parent
2f6959fb95
commit
1c47920d57
@ -356,8 +356,6 @@ bool AttributeImpl::operator<(const AttributeImpl &AI) const {
|
||||
uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) {
|
||||
// FIXME: Remove this.
|
||||
switch (Val) {
|
||||
default:
|
||||
llvm_unreachable("Unsupported attribute type");
|
||||
case Attribute::EndAttrKinds:
|
||||
llvm_unreachable("Synthetic enumerators which should never get here");
|
||||
|
||||
@ -395,7 +393,8 @@ uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) {
|
||||
case Attribute::ThreadSafety: return 1ULL << 36;
|
||||
case Attribute::UninitializedChecks: return 1ULL << 37;
|
||||
case Attribute::NoBuiltin: return 1ULL << 38;
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Unsupported attribute type");
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user