aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-tidy
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-06-07 21:25:53 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-06-07 22:28:16 -0700
commiteb2aa9cb3b47eb3d7980952844b32082c3e5e651 (patch)
treeeefb62e14d2e43d0d308c539e1278d16fd2ceefe /.clang-tidy
parent2ce76b33e36827ea265ce86fb5688ba23a70021b (diff)
Tighten the bar and refactor and offender:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy6
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000000..b8f74e973f
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,6 @@
+---
+Checks: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size'
+WarningsAsErrors: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size'
+CheckOptions:
+ - key: readability-function-size.StatementThreshold
+ value: '450'