Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
removed sync*
  • Loading branch information
gaaclarke committed Nov 7, 2022
commit b68d2664e2314b10e22120279361580908a96c0a
8 changes: 3 additions & 5 deletions tools/clang_tidy/test/clang_tidy_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,9 @@ Future<int> main(List<String> args) async {
'command': '../../buildtools/mac-x64/clang/bin/clang $filePath',
'file': filePath,
};
final List<String> filePaths = () sync* {
for (int i = 0; i < 10; ++i) {
yield '/path/to/a/source_file_$i.cc';
}
}().toList();
final List<String> filePaths = <String>[
for (int i = 0; i < 10; ++i) '/path/to/a/source_file_$i.cc'
];
final List<dynamic> buildCommandsData =
filePaths.map((String e) => makeBuildCommandEntry(e)).toList();
final List<dynamic> shardBuildCommandsData =
Expand Down