summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluationFile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-10 15:38:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-10 15:48:56 (GMT)
commit71fbebd1dc3a24e2478bb5704d9ac20f36cbf704 (patch)
treedc884b3c88488e3aecf3c1676ad404bbc6756587 /Source/cmGeneratorExpressionEvaluationFile.cxx
parent4fc10431f06a07cd7ac1fafa7f3a8e633bea204c (diff)
downloadCMake-71fbebd1dc3a24e2478bb5704d9ac20f36cbf704.zip
CMake-71fbebd1dc3a24e2478bb5704d9ac20f36cbf704.tar.gz
CMake-71fbebd1dc3a24e2478bb5704d9ac20f36cbf704.tar.bz2
IWYU: Fix handling of <memory> standard header
An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluationFile.cxx')
-rw-r--r--Source/cmGeneratorExpressionEvaluationFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionEvaluationFile.cxx b/Source/cmGeneratorExpressionEvaluationFile.cxx
index 326cb0e..11c2dcc 100644
--- a/Source/cmGeneratorExpressionEvaluationFile.cxx
+++ b/Source/cmGeneratorExpressionEvaluationFile.cxx
@@ -3,7 +3,7 @@
#include "cmGeneratorExpressionEvaluationFile.h"
#include "cmsys/FStream.hxx"
-#include <memory> // IWYU pragma: keep
+#include <memory>
#include <sstream>
#include <utility>