diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2020-03-30 22:49:02 -0700 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2020-03-30 22:49:02 -0700 |
commit | b8945ef32610c7c8caaab1719d190e69bc26ddcc (patch) | |
tree | 7752387773e178d77b860ce874bdb29d3820da38 /examples | |
parent | ffc697d0220f5d4ab8f4b3d9342f403d54caee2e (diff) | |
download | google-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.txt | 2 |
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() |