summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-04-28 13:22:19 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2020-04-29 11:16:44 -0400
commit24a9fed5d9c9d341585c0e05c72909d5f3164927 (patch)
tree1ceceb23af02c13bac808a3352aec09b6da68e65 /Tests
parent1bf89388252370e8af78f9b6620a4e1617364bd8 (diff)
downloadcmake-24a9fed5d9c9d341585c0e05c72909d5f3164927.tar.gz
IWYU: mark <cstddef> as needed
Newer IWYU is not seeing them as needed for `size_t`.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testCTestBinPacker.cxx2
-rw-r--r--Tests/CMakeLib/testGccDepfileReader.cxx2
-rw-r--r--Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeLib/testCTestBinPacker.cxx b/Tests/CMakeLib/testCTestBinPacker.cxx
index 6f09af20ef..abdbefb231 100644
--- a/Tests/CMakeLib/testCTestBinPacker.cxx
+++ b/Tests/CMakeLib/testCTestBinPacker.cxx
@@ -1,4 +1,4 @@
-#include <cstddef>
+#include <cstddef> // IWYU pragma: keep
#include <iostream>
#include <map>
#include <string>
diff --git a/Tests/CMakeLib/testGccDepfileReader.cxx b/Tests/CMakeLib/testGccDepfileReader.cxx
index 924d87b081..e79f047fd6 100644
--- a/Tests/CMakeLib/testGccDepfileReader.cxx
+++ b/Tests/CMakeLib/testGccDepfileReader.cxx
@@ -1,4 +1,4 @@
-#include <cstddef>
+#include <cstddef> // IWYU pragma: keep
#include <iostream>
#include <memory>
#include <string>
diff --git a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
index 80db05eb6e..daf8a2d808 100644
--- a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
+++ b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
@@ -1,6 +1,6 @@
#include <cassert>
#include <chrono>
-#include <cstddef>
+#include <cstddef> // IWYU pragma: keep
#include <cstdlib>
#include <iostream>
#include <map>