fix some include-what-you-use diagnostics
This commit is contained in:
parent
dbdd25bc95
commit
ee72803e9f
@ -13,7 +13,6 @@
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmCPackGenerator;
|
||||
class cmCPackLog;
|
||||
class cmInstalledFile;
|
||||
class cmMakefile;
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
class cmCTest;
|
||||
class cmCTestGenericHandler;
|
||||
class cmCTestStartCommand;
|
||||
class cmGeneratedFileStream;
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCommands.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
|
||||
#include "cmAddCustomCommandCommand.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmExportTryCompileFileGenerator.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
|
@ -2,10 +2,18 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
|
||||
#include "cmLinkLineDeviceComputer.h"
|
||||
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalNinjaGenerator.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmStateDirectory.h"
|
||||
#include "cmStateTypes.h"
|
||||
|
||||
class cmOutputConverter;
|
||||
|
||||
cmLinkLineDeviceComputer::cmLinkLineDeviceComputer(
|
||||
cmOutputConverter* outputConverter, cmStateDirectory stateDir)
|
||||
|
@ -4,8 +4,17 @@
|
||||
#ifndef cmLinkLineDeviceComputer_h
|
||||
#define cmLinkLineDeviceComputer_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cmLinkLineComputer.h"
|
||||
|
||||
class cmComputeLinkInformation;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalNinjaGenerator;
|
||||
class cmOutputConverter;
|
||||
class cmStateDirectory;
|
||||
|
||||
class cmLinkLineDeviceComputer : public cmLinkLineComputer
|
||||
{
|
||||
|
@ -2,22 +2,21 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmLoadCommandCommand.h"
|
||||
|
||||
#include "cmCPluginAPI.cxx"
|
||||
#include "cmCPluginAPI.h"
|
||||
#include "cmDynamicLoader.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
#include <signal.h>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmCPluginAPI.cxx"
|
||||
#include "cmCPluginAPI.h"
|
||||
#include "cmDynamicLoader.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
#ifdef __QNX__
|
||||
#include <malloc.h> /* for malloc/free on QNX */
|
||||
#endif
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "cmInstallScriptGenerator.h"
|
||||
#include "cmInstallTargetGenerator.h"
|
||||
#include "cmLinkLineComputer.h"
|
||||
#include "cmLinkLineDeviceComputer.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmRulePlaceholderExpander.h"
|
||||
#include "cmSourceFile.h"
|
||||
|
@ -2,6 +2,7 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmMakefileExecutableTargetGenerator.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -5,6 +5,8 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cmMakefileTargetGenerator.h"
|
||||
|
||||
class cmGeneratorTarget;
|
||||
|
@ -2,8 +2,7 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmMakefileLibraryTargetGenerator.h"
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmFilePathChecksum.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
|
@ -2,7 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmSourceGroupCommand.h"
|
||||
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceGroup.h"
|
||||
|
@ -2,8 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmSubdirDependsCommand.h"
|
||||
|
||||
#include "cmPolicies.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
bool cmSubdirDependsCommand::InitialPass(std::vector<std::string> const&,
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include <utility>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
#include "cmPolicies.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include "cmVariableRequiresCommand.h"
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user