This should make gcc happy and still produce a clang warning if we add
another value to the enum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295865
91177308-0d34-0410-b5e6-
96231b3b80d8
case object::Archive::K_BSD:
case object::Archive::K_DARWIN:
return true;
- default:
- llvm_unreachable("not supported for writting");
+ case object::Archive::K_MIPS64:
+ case object::Archive::K_DARWIN64:
+ case object::Archive::K_COFF:
+ break;
}
+ llvm_unreachable("not supported for writting");
}
static void print32(raw_ostream &Out, object::Archive::Kind Kind,