mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replaced assert(false with llvm_unreachable
This commit is contained in:
@@ -50,7 +50,7 @@ bool FrontendInputs::shouldTreatAsSIL() const {
|
||||
return false;
|
||||
if (silPrimaryCount == primaryInputCount())
|
||||
return true;
|
||||
assert(false && "Either all primaries or none must end with .sil");
|
||||
llvm_unreachable("Either all primaries or none must end with .sil");
|
||||
}
|
||||
|
||||
unsigned
|
||||
|
||||
Reference in New Issue
Block a user