Skip to content

Commit f7e51b1

Browse files
build: Enable clang-tidy 17 and 18 via CMake
1 parent a26e5c8 commit f7e51b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build-support/macros-and-definitions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ macro(process_options)
260260
if(${NS3_CLANG_TIDY})
261261
find_program(
262262
CLANG_TIDY NAMES clang-tidy clang-tidy-14 clang-tidy-15 clang-tidy-16
263+
clang-tidy-17 clang-tidy-18
263264
)
264265
if("${CLANG_TIDY}" STREQUAL "CLANG_TIDY-NOTFOUND")
265266
message(FATAL_ERROR "Clang-tidy was not found")

0 commit comments

Comments
 (0)