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: 001c3c5dd4bda595ed68c24654f741d708fe6d80 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

#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