aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2020-03-30 22:49:02 -0700
committerMarco Poletti <poletti.marco@gmail.com>2020-03-30 22:49:02 -0700
commitb8945ef32610c7c8caaab1719d190e69bc26ddcc (patch)
tree7752387773e178d77b860ce874bdb29d3820da38 /examples
parentffc697d0220f5d4ab8f4b3d9342f403d54caee2e (diff)
downloadgoogle-fruit-b8945ef32610c7c8caaab1719d190e69bc26ddcc.tar.gz
Increase the amount of Clang tidy checks that also run for example code (and avoid duplication of the list of checks).
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 618340a..200118d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -4,7 +4,7 @@ if(${FRUIT_ENABLE_CLANG_TIDY})
set(CMAKE_CXX_CLANG_TIDY
clang-tidy;
-header-filter=fruit;
- -checks=bugprone*,clang-analyzer*,-bugprone-reserved-identifier,-bugprone-exception-escape,-clang-diagnostic-dtor-name;
+ -checks=${FRUIT_CLANG_TIDY_CHECKS},-google-explicit-constructor,-google-build-using-namespace;
-warnings-as-errors=*;)
endif()