diff options
author | dan sinclair <dj2@everburning.com> | 2018-06-06 04:36:50 +0300 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-06-21 23:08:14 +0300 |
commit | 185406439fda58a4e6e0dc3534f8e6abb9772826 (patch) | |
tree | 0e8aa6b9fd77409047c92f7f661f97ff572b1cd8 /.clang-format | |
parent | ba602c90593f570019e4eac3a32ed5dbf1f02b59 (diff) |
Setup gclient and presubmit file.
This CL adds the necessary files to use gclient and the depot_tools with
the SPIRV-Tools directory. This allows doing things like `git cl format`
to format code pre-upload and `git cl presubmit -uf` to run presubmit
checks over the code.
The dependencies are all added to the DEPS file and will be
auto-downloaded. They are all pin'd to specific revisions so everyone
has the same checkout. Clang is included in the checkout so it will be
consistent over usages.
Use clang-format
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 2b5d4a50b..1d43c4ed4 100644 --- a/.clang-format +++ b/.clang-format @@ -2,4 +2,5 @@ Language: Cpp BasedOnStyle: Google DerivePointerAlignment: false +SortIncludes: true ... |