From c2974463d714a33d331abcaf8c5ce689357aa551 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 9 Nov 2023 10:42:37 -0500 Subject: cmTargetExport: Analyze with IWYU Since there is no cmTargetExport.cxx, cmTargetExport.h was not being analyzed by IWYU. Associate cmTargetExport.h with cmExportSet.cxx. --- Source/cmExportSet.cxx | 4 ++-- 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 #include @@ -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 #include class cmFileSet; -- cgit v0.12