commit | 7364a8efaeeda236ac17c6b556775ed9843e6b12 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Jul 19 15:39:29 2018 +0100 |
committer | Andrew Scull <ascull@google.com> | Thu Jul 19 15:51:45 2018 +0100 |
tree | b78a22d0e3f39ad670207faac61f8943d71df7b2 | |
parent | 4f170f5602016262e7bc20683cc4dbd6d41ec7b3 [diff] [blame] |
Hold on to your braces! This introduces the use of clang-tidy for static analysis and linting. We start by ensuring that we use braces everywhere to reduce the risk of programmer error caused by the misuse of scope. Change-Id: I8aba449e6ef8405192d04aff5ed827f97e458d3d
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..55d135e --- /dev/null +++ b/.clang-tidy
@@ -0,0 +1,2 @@ +Checks: 'readability-braces-around-statements' +HeaderFilterRegex: '.*'