Skip to content

Commit 22f4c19

Browse files
committed
for each
1 parent c3891e4 commit 22f4c19

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/cpp-ci-serial-programs-base.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ jobs:
149149
EOF
150150
151151
files=$(jq --raw-output '.[].file' SerialPrograms/bin/compile_commands.json)
152-
echo "$files" | xargs clang-query -p SerialPrograms/bin/ -f query.txt >> clang-query-stdout.txt
152+
for file in $files; do
153+
echo "Processing: $file"
154+
clang-query -p SerialPrograms/bin/ -f query.txt "$file" >> clang-query-stdout.txt
155+
done
153156
154157
FOUND_FORBIDDEN=0
155158
if grep --quiet "Binding for 'path_error'" clang-query-stdout.txt; then

0 commit comments

Comments
 (0)