mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 11:18:35 -06:00
Merge topic 'gitlab-ci-lint'
4318e8ed35gitlab-ci: add iwyu job0866b9253bgitlab-ci: add initial clang-tidy build0a5bcf97b9gitlab-ci: add scripts for use by CI960158b90dci: add scripts to download build tools6af91c7c4dci: add an image for Debian 1068903ae238ci: add a Docker container for building CMake3ac24a8a6ecmFunctionBlocker: include missing headerb745b8fd36IWYU: mark includes needed for assert statements as needed ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4643
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackIFWCommon.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "cmCTestRunTest.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
*/
|
||||
#include "bindexplib.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "cmArgumentParser.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <type_traits>
|
||||
|
||||
namespace ArgumentParser {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
// NOTE The declaration of `std::abs` has moved to `cmath` since C++17
|
||||
// See https://en.cppreference.com/w/cpp/numeric/math/abs
|
||||
// ALERT But IWYU used to lint `#include`s do not "understand"
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
#include "cmFunctionBlocker.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory> // IWYU pragma: keep
|
||||
#include <sstream>
|
||||
#include <string> // IWYU pragma: keep
|
||||
#include <utility>
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGhsMultiGenerator.h"
|
||||
#include "cmLinkLineComputer.h"
|
||||
#include "cmLinkLineComputer.h" // IWYU pragma: keep
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmLocalGhsMultiGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLinkLineComputer.h"
|
||||
#include "cmLinkLineComputer.h" // IWYU pragma: keep
|
||||
#include "cmLocalCommonGenerator.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmMakefile.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#define cmUVProcessChain_h
|
||||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <memory>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <chrono>
|
||||
#include <cstddef>
|
||||
#include <cstddef> // IWYU pragma: keep
|
||||
#include <ctime>
|
||||
#include <ostream>
|
||||
#include <stack>
|
||||
|
||||
Reference in New Issue
Block a user