File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,15 @@ Checks: >
2323 -clang-analyzer-optin.cplusplus.UninitializedObject,
2424 -misc-static-assert,
2525 -modernize-use-trailing-return-type,
26+ -modernize-use-nullptr,
2627 -bugprone-easily-swappable-parameters,
2728 -bugprone-exception-escape,
2829 -cert-env33-c,
2930 -cert-err58-cpp
3031
32+ # -modernize-use-nullptr is deactivated for x86
33+ # See: https://github.com/llvm/llvm-project/issues/53778
34+
3135WarningsAsErrors : ' *'
3236HeaderFilterRegex : ' '
3337FormatStyle : none
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Release")
33 if (CLANGTIDY)
44 message (STATUS "Using clang-tidy, found ${CLANGTIDY} " )
55 set (CMAKE_CXX_CLANG_TIDY "${CLANGTIDY} ;-extra-arg=-Wno-unknown-warning-option" )
6+ # Explicitly enable exceptions on Windows
7+ if (WIN32 )
8+ set (CMAKE_CXX_CLANG_TIDY "${CMAKE_CXX_CLANG_TIDY} ;--extra-arg=/EHsc" )
9+ endif ()
610 else ()
711 message (WARNING "clang-tidy requested but executable not found" )
812 endif ()
You can’t perform that action at this time.
0 commit comments