Skip to content

Commit 3c882f2

Browse files
author
David Ungar
committed
Added else to: if (PSGIs.empty())
1 parent 6196ad7 commit 3c882f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +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-
802-
if (PSGIs.empty()) {
801+
else if (PSGIs.empty()) {
803802
auto fileIsSIB = [](const FileUnit *File) -> bool {
804803
auto SASTF = dyn_cast<SerializedASTFile>(File);
805804
return SASTF && SASTF->isSIB();

0 commit comments

Comments
 (0)