aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/.clang-tidy
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-08-01 08:36:03 -0700
committerGravatar Noah Eisen <ncteisen@google.com>2018-08-29 14:24:02 -0700
commitf8a4aae1197e586d5c34f1acff450eac4d764c4b (patch)
treeb8c32ef184f70f198f9001d2384499e1d206a882 /test/.clang-tidy
parent92d1b5c433b69834b943107c76e6917556c4903f (diff)
Fix all instances of bugprone-undefined-memory-manipulation
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000000..f951ee5fea
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1,6 @@
+---
+Checks: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size,performance-*,-performance-unnecessary-copy-initialization'
+WarningsAsErrors: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size,performance-*,-performance-unnecessary-copy-initialization'
+CheckOptions:
+ - key: readability-function-size.StatementThreshold
+ value: '450'