summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-28 15:45:44 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-28 15:50:44 (GMT)
commit923b8fadd5fe6af56197cf3916a3292b60c0e8db (patch)
tree17d0031fb3f2e57184760b7a9a6274c26754c65a /Source/CTest/cmCTestBuildHandler.cxx
parent8b5ae1c1d310fc6eb13b2cde5712b4e319f01f3e (diff)
downloadCMake-923b8fadd5fe6af56197cf3916a3292b60c0e8db.zip
CMake-923b8fadd5fe6af56197cf3916a3292b60c0e8db.tar.gz
CMake-923b8fadd5fe6af56197cf3916a3292b60c0e8db.tar.bz2
IWYU: Add mappings for std::enable_if on chrono durations
IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index f25c9c3..79446e8 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -17,7 +17,6 @@
#include <set>
#include <stdlib.h>
#include <string.h>
-#include <type_traits>
static const char* cmCTestErrorMatches[] = {
"^[Bb]us [Ee]rror",