summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-25 18:39:02 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-26 05:41:04 (GMT)
commitca2233e31fec18727ac1f742bef1108016745039 (patch)
tree38cf11857b891ede8a6c39354c19a397c197712f /Tests/CMakeLib
parentebe436eb97bf81704a1d0b074b3da4ac817f37d3 (diff)
downloadCMake-ca2233e31fec18727ac1f742bef1108016745039.zip
CMake-ca2233e31fec18727ac1f742bef1108016745039.tar.gz
CMake-ca2233e31fec18727ac1f742bef1108016745039.tar.bz2
IWYU: Mark cmConfigure.h with pragma: keep
Also remove `#include "cmConfigure.h"` from most source files.
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/run_compile_commands.cxx2
-rw-r--r--Tests/CMakeLib/testXMLSafe.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index 3a91c21..0d692ca 100644
--- a/Tests/CMakeLib/run_compile_commands.cxx
+++ b/Tests/CMakeLib/run_compile_commands.cxx
@@ -1,4 +1,4 @@
-#include <cmConfigure.h>
+#include "cmConfigure.h" // IWYU pragma: keep
#include "cmsys/FStream.hxx"
#include <iostream>
diff --git a/Tests/CMakeLib/testXMLSafe.cxx b/Tests/CMakeLib/testXMLSafe.cxx
index e6ee1e3..21bb952 100644
--- a/Tests/CMakeLib/testXMLSafe.cxx
+++ b/Tests/CMakeLib/testXMLSafe.cxx
@@ -1,7 +1,7 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#include <cmConfigure.h>
+#include "cmConfigure.h" // IWYU pragma: keep
#include <sstream>
#include <stdio.h>