Skip to content

Commit 2d7607f

Browse files
author
David Ungar
committed
Remove redundant test: PSGIs.empty()
1 parent cbd1d48 commit 2d7607f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ static bool performCompile(CompilerInstance &Instance,
798798
if (auto SM = Instance.takeSILModule()) {
799799
PSGIs.push_back(PostSILGenInputs{std::move(SM), false, mod});
800800
}
801-
else if (PSGIs.empty()) {
801+
else {
802802
auto fileIsSIB = [](const FileUnit *File) -> bool {
803803
auto SASTF = dyn_cast<SerializedASTFile>(File);
804804
return SASTF && SASTF->isSIB();

0 commit comments

Comments
 (0)