From 72ea66b1cf28bba68f2b81637864a330e3ae715f Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 23 Mar 2017 23:19:45 +0100 Subject: Autogen: include what you use --- Source/cmQtAutoGeneratorCommon.cxx | 1 + Source/cmQtAutoGeneratorCommon.h | 5 +---- Source/cmQtAutoGeneratorInitializer.cxx | 6 +----- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Source/cmQtAutoGeneratorCommon.cxx b/Source/cmQtAutoGeneratorCommon.cxx index dcd61a3..2498fe8 100644 --- a/Source/cmQtAutoGeneratorCommon.cxx +++ b/Source/cmQtAutoGeneratorCommon.cxx @@ -8,6 +8,7 @@ #include #include +#include // - Static functions diff --git a/Source/cmQtAutoGeneratorCommon.h b/Source/cmQtAutoGeneratorCommon.h index b54b6fa..b004005 100644 --- a/Source/cmQtAutoGeneratorCommon.h +++ b/Source/cmQtAutoGeneratorCommon.h @@ -3,13 +3,10 @@ #ifndef cmQtAutoGeneratorCommon_h #define cmQtAutoGeneratorCommon_h -#include // IWYU pragma: keep +#include #include #include -class cmGeneratorTarget; -class cmLocalGenerator; - class cmQtAutoGeneratorCommon { // - Types and statics diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx index 6ebc234..ead3dfc 100644 --- a/Source/cmQtAutoGeneratorInitializer.cxx +++ b/Source/cmQtAutoGeneratorInitializer.cxx @@ -7,12 +7,11 @@ #include "cmCustomCommandLines.h" #include "cmFilePathChecksum.h" #include "cmGeneratorTarget.h" -#include "cmGlobalGenerator.h" #include "cmLocalGenerator.h" #include "cmMakefile.h" #include "cmOutputConverter.h" #include "cmSourceFile.h" -#include "cmSourceFileLocation.h" +#include "cmSourceGroup.h" #include "cmState.h" #include "cmSystemTools.h" #include "cmTarget.h" @@ -25,11 +24,8 @@ #include #include #include -#include #include #include -#include -#include #include #include #include -- cgit v0.12