diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-11-09 15:42:37 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-11-09 15:49:50 (GMT) |
commit | c2974463d714a33d331abcaf8c5ce689357aa551 (patch) | |
tree | b711f9dc6cf81cb6b0565902ef819b166d95c040 /Source | |
parent | ce34ff98606f4c92325e0b43d7d0fdfe583372a1 (diff) | |
download | CMake-c2974463d714a33d331abcaf8c5ce689357aa551.zip CMake-c2974463d714a33d331abcaf8c5ce689357aa551.tar.gz CMake-c2974463d714a33d331abcaf8c5ce689357aa551.tar.bz2 |
cmTargetExport: Analyze with IWYU
Since there is no cmTargetExport.cxx, cmTargetExport.h was not
being analyzed by IWYU. Associate cmTargetExport.h with
cmExportSet.cxx.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmExportSet.cxx | 4 | ||||
-rw-r--r-- | Source/cmTargetExport.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmExportSet.cxx b/Source/cmExportSet.cxx index 3d4ef0a..c890168 100644 --- a/Source/cmExportSet.cxx +++ b/Source/cmExportSet.cxx @@ -1,6 +1,6 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ -#include "cmExportSet.h" +#include "cmExportSet.h" // IWYU pragma: associated #include <algorithm> #include <tuple> @@ -11,7 +11,7 @@ #include "cmMessageType.h" #include "cmStringAlgorithms.h" #include "cmTarget.h" -#include "cmTargetExport.h" +#include "cmTargetExport.h" // IWYU pragma: associated cmExportSet::cmExportSet(std::string name) : Name(std::move(name)) diff --git a/Source/cmTargetExport.h b/Source/cmTargetExport.h index 1cef888..0dac5ca 100644 --- a/Source/cmTargetExport.h +++ b/Source/cmTargetExport.h @@ -4,6 +4,7 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include <map> #include <string> class cmFileSet; |