Skip to content

Commit d347418

Browse files
committed
Fixed clang-tidy config
1 parent beb865b commit d347418

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.clang-tidy

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ Checks: "*,
1717
WarningsAsErrors: ''
1818
HeaderFilterRegex: ''
1919
FormatStyle: none
20-
2120
CheckOptions:
22-
23-
- key: readability-identifier-length.IgnoredVariableNames
21+
- key: readability-identifier-length.IgnoredVariableNames
2422
value: 'x|y|z'
25-
- key: readability-identifier-length.IgnoredParameterNames
23+
- key: readability-identifier-length.IgnoredParameterNames
2624
value: 'x|y|z'
27-
- key: bugprone-easily-swappable-parameters.MinimumLength
28-
value: '3'
25+
- key: bugprone-easily-swappable-parameters.MinimumLength
26+
value: '3'

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ add_compile_options(-Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic)
1212
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1313

1414
if(ENABLE_CLANG_TIDY)
15-
if(CLANG_TIDY)
1615
find_program(CLANG_TIDY "clang-tidy")
1716
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}")
18-
endif()
1917
endif()
2018

2119
find_package(GTest CONFIG REQUIRED)

0 commit comments

Comments
 (0)