diff options
author | Brad King <brad.king@kitware.com> | 2019-01-15 14:59:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-15 15:00:50 (GMT) |
commit | cd0881be61149346649f3aef9b69d58bd7a2549a (patch) | |
tree | c61c16ad2cc901cba8b0a9be49693268c7ceea41 /Source/CTest | |
parent | 2033c1e56fd3d9367fc4eb9a2595c3c592575d54 (diff) | |
download | CMake-cd0881be61149346649f3aef9b69d58bd7a2549a.zip CMake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.gz CMake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.bz2 |
IWYU: Update CMake code for IWYU built with Clang 6
IWYU now correctly requires `<utility>` for `std::move`. It also
requires a container header when used via a range-based for loop.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmParseMumpsCoverage.cxx | 1 | ||||
-rw-r--r-- | Source/CTest/cmProcess.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx index 18412ba..488d237 100644 --- a/Source/CTest/cmParseMumpsCoverage.cxx +++ b/Source/CTest/cmParseMumpsCoverage.cxx @@ -9,6 +9,7 @@ #include <map> #include <string> #include <utility> +#include <vector> cmParseMumpsCoverage::cmParseMumpsCoverage( cmCTestCoverageHandlerContainer& cont, cmCTest* ctest) diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx index c4cf046..7737f65 100644 --- a/Source/CTest/cmProcess.cxx +++ b/Source/CTest/cmProcess.cxx @@ -7,7 +7,6 @@ #include "cmCTestTestHandler.h" #include "cmsys/Process.h" -#include <algorithm> #include <fcntl.h> #include <iostream> #include <signal.h> @@ -15,6 +14,7 @@ #if !defined(_WIN32) # include <unistd.h> #endif +#include <utility> #define CM_PROCESS_BUF_SIZE 65536 |