Welcome to mirror list, hosted at ThFree Co, Russian Federation.

format_all.sh - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fcfffc57f86434459b21f2a5745c51d2634c78e0 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

#for file in spirv_*.{cpp,hpp} include/spirv_cross/*.{hpp,h} samples/cpp/*.cpp main.cpp
for file in spirv_*.{cpp,hpp} main.cpp
do
    echo "Formatting file: $file ..."
    clang-format -style=file -i $file
done