Просмотр исходного кода

clang-tidy: suppress misc-redundant-expression lint on macro expansion

Brad King 8 месяцев назад
Родитель
Сommit
8b1b201154
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/cmCurl.cxx

+ 1 - 0
Source/cmCurl.cxx

@@ -48,6 +48,7 @@
 // Do this only for our vendored curl to avoid breaking builds
 // against external future versions of curl.
 #if !defined(CMAKE_USE_SYSTEM_CURL)
+// NOLINTNEXTLINE(misc-redundant-expression)
 static_assert(CURL_SSLVERSION_LAST == 8,
               "A new CURL_SSLVERSION_ may be available!");
 #endif