diff --git a/.clang-tidy b/.clang-tidy index 571dbac43a..9638473cb3 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -4,7 +4,6 @@ bugprone-*,\ -bugprone-macro-parentheses,\ -bugprone-misplaced-widening-cast,\ -bugprone-narrowing-conversions,\ --bugprone-suspicious-include,\ -bugprone-too-small-loop-variable,\ google-readability-casting,\ misc-*,\ diff --git a/Source/cmFileLock.cxx b/Source/cmFileLock.cxx index 6010233cad..5d197d2fbb 100644 --- a/Source/cmFileLock.cxx +++ b/Source/cmFileLock.cxx @@ -80,7 +80,9 @@ bool cmFileLock::IsLocked(const std::string& filename) const } #if defined(_WIN32) +// NOLINTNEXTLINE(bugprone-suspicious-include) # include "cmFileLockWin32.cxx" #else +// NOLINTNEXTLINE(bugprone-suspicious-include) # include "cmFileLockUnix.cxx" #endif diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index 9c0b40072a..5a7b30f193 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -33,6 +33,7 @@ #include "cmStringAlgorithms.h" #include "cmSystemTools.h" +// NOLINTNEXTLINE(bugprone-suspicious-include) #include "cmCPluginAPI.cxx" #ifdef __QNX__