| 566 | file_ids.push_back(entry.file); |
| 567 | } |
| 568 | } |
| 569 | |
| 570 | return result; |
| 571 | } |
| 572 | |
| 573 | CompileCommand CompilationDatabase::group_command(const ConfigGroup& group, |
| 574 | const CommandOptions& options) { |
| 575 | assert(!group.file_ids.empty() && group.info && "group must come from unique_configs()"); |
| 576 | return build_command(group.file_ids.front(), group.info, options); |
| 577 | } |
| 578 | |
| 579 | #ifdef CLICE_ENABLE_TEST |