File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,6 @@ static bool ActionFailed(const Action *A,
232
232
return false ;
233
233
}
234
234
235
- static bool InputsOk (const Command &C,
236
- const FailingCommandList &FailingCommands) {
237
- return !ActionFailed (&C.getSource (), FailingCommands);
238
- }
239
-
240
235
void Compilation::ExecuteJobs (const JobList &Jobs,
241
236
FailingCommandList &FailingCommands,
242
237
bool LogOnly) const {
@@ -245,7 +240,7 @@ void Compilation::ExecuteJobs(const JobList &Jobs,
245
240
// In all but CLMode, execute all the jobs unless the necessary inputs for the
246
241
// job is missing due to previous failures.
247
242
for (const auto &Job : Jobs) {
248
- if (! InputsOk ( Job, FailingCommands))
243
+ if (ActionFailed (& Job. getSource () , FailingCommands))
249
244
continue ;
250
245
const Command *FailingCommand = nullptr ;
251
246
if (int Res = ExecuteCommand (Job, FailingCommand, LogOnly)) {
You can’t perform that action at this time.
0 commit comments