diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | Source/cmFileLock.cxx | 2 | ||||
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy index 571dbac..9638473 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 6010233..5d197d2 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 9c0b400..5a7b30f 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__ |