diff options
author | Jesse Hall <jessehall@google.com> | 2016-06-11 21:36:17 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2016-06-13 21:26:46 -0700 |
commit | a5592bb6c977411f6c8a1210a1ea4ae0d534f757 (patch) | |
tree | a3fc81ccc76a2485f664bd43222d698b9ad9b454 | |
parent | 592651e843f3dd24d8104329da98e3dcbd2752e6 (diff) | |
download | vulkan-validation-layers-a5592bb6c977411f6c8a1210a1ea4ae0d534f757.tar.gz |
vkjson: Add .clang-format
Future changes to vkjson should use consistent code formatting. The
vkjson-specific .clang-format will define the style to be used; I
picked Chromium style because it's the closest to the style of the
current code.
To avoid polluting git history/blame, I'm not reformatting all of the
existing code at this point. New changes should be run through
git-clang-format to reformat any modified lines. Recommended
configuration is:
git config clangFormat.style file
git config clangFormat.extension h,cc
-rw-r--r-- | libs/vkjson/.clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/vkjson/.clang-format b/libs/vkjson/.clang-format new file mode 100644 index 000000000..3f19e6161 --- /dev/null +++ b/libs/vkjson/.clang-format @@ -0,0 +1 @@ +BasedOnStyle: Chromium |