summaryrefslogtreecommitdiff
path: root/Source/cmIncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-15 09:59:46 -0500
committerBrad King <brad.king@kitware.com>2019-01-15 10:00:50 -0500
commitcd0881be61149346649f3aef9b69d58bd7a2549a (patch)
treec61c16ad2cc901cba8b0a9be49693268c7ceea41 /Source/cmIncludeDirectoryCommand.cxx
parent2033c1e56fd3d9367fc4eb9a2595c3c592575d54 (diff)
downloadcmake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.gz
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/cmIncludeDirectoryCommand.cxx')
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index caec67db7b..549a263e3c 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -4,6 +4,7 @@
#include <algorithm>
#include <set>
+#include <utility>
#include "cmGeneratorExpression.h"
#include "cmMakefile.h"