mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove redundant test: PSGIs.empty()
This commit is contained in:
@@ -798,7 +798,7 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
if (auto SM = Instance.takeSILModule()) {
|
||||
PSGIs.push_back(PostSILGenInputs{std::move(SM), false, mod});
|
||||
}
|
||||
else if (PSGIs.empty()) {
|
||||
else {
|
||||
auto fileIsSIB = [](const FileUnit *File) -> bool {
|
||||
auto SASTF = dyn_cast<SerializedASTFile>(File);
|
||||
return SASTF && SASTF->isSIB();
|
||||
|
||||
Reference in New Issue
Block a user