diff options
author | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2016-05-05 10:33:18 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2016-05-05 10:40:58 +0300 |
commit | 4b8ed53974c79a9dcbc55c14889e8a1cf30d1b77 (patch) | |
tree | 6f918be6498f5523e202b28b4be7d75913c63579 /README.md | |
parent | 9d4b5c0c595d3a6c1e057df2baaa1aa16a30b787 (diff) |
Add Clang format.
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.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -136,6 +136,11 @@ When adding support for new features to SPIRV-Cross, a new shader and reference Contributors of new files should add a copyright header at the top of every new source code file with their copyright along with the Apache 2.0 licensing stub. +### Formatting + +SPIRV-Cross uses clang-format to automatically format code. +Please use clang-format with the style sheet found in `.clang-format` to automatically format code before submitting a pull request. + ## ABI concerns ### SPIR-V headers |