vkjson: Add .clang-format
authorJesse Hall <jessehall@google.com>
Sun, 12 Jun 2016 04:36:17 +0000 (21:36 -0700)
committerJon Ashburn <jon@lunarg.com>
Tue, 14 Jun 2016 14:45:15 +0000 (08:45 -0600)
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

libs/vkjson/.clang-format [new file with mode: 0644]

diff --git a/libs/vkjson/.clang-format b/libs/vkjson/.clang-format
new file mode 100644 (file)
index 0000000..3f19e61
--- /dev/null
@@ -0,0 +1 @@
+BasedOnStyle: Chromium