clang-tidy: fix bugprone-suspicious-include
warnings
This commit is contained in:
parent
a0610cf9e9
commit
3a0d40bf8c
@ -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-*,\
|
||||
|
@ -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
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
// NOLINTNEXTLINE(bugprone-suspicious-include)
|
||||
#include "cmCPluginAPI.cxx"
|
||||
|
||||
#ifdef __QNX__
|
||||
|
Loading…
Reference in New Issue
Block a user