From eb2aa9cb3b47eb3d7980952844b32082c3e5e651 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Thu, 7 Jun 2018 21:25:53 -0700 Subject: Tighten the bar and refactor and offender: --- .clang-tidy | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .clang-tidy (limited to '.clang-tidy') 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' -- cgit v1.2.3