diff options
author | Brad King <brad.king@kitware.com> | 2019-03-20 13:43:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 13:48:29 (GMT) |
commit | f7dca1fc97c08146da33a2d6a3ba22ad8e08d94a (patch) | |
tree | 81852e188c9f6b4aa08eb118e3aca4e0f495e66f /Source/cmGhsMultiTargetGenerator.h | |
parent | 41d796c09be11da2284182e7da7f79940e86e07b (diff) | |
download | CMake-f7dca1fc97c08146da33a2d6a3ba22ad8e08d94a.zip CMake-f7dca1fc97c08146da33a2d6a3ba22ad8e08d94a.tar.gz CMake-f7dca1fc97c08146da33a2d6a3ba22ad8e08d94a.tar.bz2 |
GHS: Fix include-what-you-use and clang-tidy diagnostics
We will soon build GHS sources on Linux where we run these lints.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.h')
-rw-r--r-- | Source/cmGhsMultiTargetGenerator.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.h b/Source/cmGhsMultiTargetGenerator.h index a241cc6..a4e23d9 100644 --- a/Source/cmGhsMultiTargetGenerator.h +++ b/Source/cmGhsMultiTargetGenerator.h @@ -7,8 +7,12 @@ #include "cmTarget.h" +#include <iosfwd> +#include <map> +#include <string> +#include <vector> + class cmCustomCommand; -class cmGeneratedFileStream; class cmGeneratorTarget; class cmGlobalGhsMultiGenerator; class cmLocalGhsMultiGenerator; @@ -51,12 +55,13 @@ private: cmTarget::CustomCommandType commandType); void WriteSources(std::ostream& fout_proj); void WriteSourceProperty(std::ostream& fout, const cmSourceFile* sf, - std::string propName, std::string propFlag); + std::string const& propName, + std::string const& propFlag); void WriteReferences(std::ostream& fout); static void WriteObjectLangOverride(std::ostream& fout, const cmSourceFile* sourceFile); - bool DetermineIfIntegrityApp(void); + bool DetermineIfIntegrityApp(); cmGeneratorTarget* GeneratorTarget; cmLocalGhsMultiGenerator* LocalGenerator; cmMakefile* Makefile; |