Skip to content

Commit e4fb791

Browse files
author
David Ungar
committed
bug fix unfmt
1 parent ee17f61 commit e4fb791

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/Driver/Compilation.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,12 +1014,13 @@ namespace driver {
10141014
for (const Job *Cmd : Comp.getJobs()) {
10151015
auto pri = Cmd->getFirstSwiftPrimaryInput();
10161016
if (pri.empty())
1017-
if (allSourceRangeInfo.count(pri)) {
1018-
noteBuilding(
1019-
Cmd, false, true,
1020-
"already have source-range and compiled-source files.");
1021-
continue;
1022-
}
1017+
continue;
1018+
if (allSourceRangeInfo.count(pri)) {
1019+
noteBuilding(
1020+
Cmd, false, true,
1021+
"already have source-range and compiled-source files.");
1022+
continue;
1023+
}
10231024
noteBuilding(Cmd, true, true,
10241025
"to create source-range and compiled-source files for the "
10251026
"next time when falling back from source-ranges");

0 commit comments

Comments
 (0)