mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-09-20 06:40:08 +00:00
4b8ed53974
Reformats the entire codebase. Better to do it now than later. Adds .clang-format and a convenience script format_all.sh which formats everything automatically.
8 lines
157 B
Bash
Executable File
8 lines
157 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for file in spirv_*.{cpp,hpp} include/spirv_cross/*.{hpp,h}
|
|
do
|
|
echo "Formatting file: $file ..."
|
|
clang-format -style=file -i $file
|
|
done
|