summaryrefslogtreecommitdiffstats
path: root/Source/cmFileLock.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:36:31 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:44 (GMT)
commit3a0d40bf8c838fd94b716b60d1e161066d57e68a (patch)
tree4a9032049a332fc6a9c54657bf72eb3bc85816b8 /Source/cmFileLock.cxx
parenta0610cf9e9768eb4c89bf0d0a2f765865512f081 (diff)
downloadCMake-3a0d40bf8c838fd94b716b60d1e161066d57e68a.zip
CMake-3a0d40bf8c838fd94b716b60d1e161066d57e68a.tar.gz
CMake-3a0d40bf8c838fd94b716b60d1e161066d57e68a.tar.bz2
clang-tidy: fix `bugprone-suspicious-include` warnings
Diffstat (limited to 'Source/cmFileLock.cxx')
-rw-r--r--Source/cmFileLock.cxx2
1 files changed, 2 insertions, 0 deletions
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