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/cmGhsMultiGpj.cxx | |
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/cmGhsMultiGpj.cxx')
-rw-r--r-- | Source/cmGhsMultiGpj.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGhsMultiGpj.cxx b/Source/cmGhsMultiGpj.cxx index c1f0742..8b69b51 100644 --- a/Source/cmGhsMultiGpj.cxx +++ b/Source/cmGhsMultiGpj.cxx @@ -2,7 +2,7 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGhsMultiGpj.h" -#include "cmGeneratedFileStream.h" +#include <ostream> static const char* GHS_TAG[] = { "[INTEGRITY Application]", "[Library]", @@ -11,7 +11,7 @@ static const char* GHS_TAG[] = { "[INTEGRITY Application]", "[Reference]", "[Subproject]" }; -const char* GhsMultiGpj::GetGpjTag(Types const gpjType) +const char* GhsMultiGpj::GetGpjTag(Types gpjType) { char const* tag; switch (gpjType) { @@ -29,7 +29,7 @@ const char* GhsMultiGpj::GetGpjTag(Types const gpjType) return tag; } -void GhsMultiGpj::WriteGpjTag(Types const gpjType, std::ostream& fout) +void GhsMultiGpj::WriteGpjTag(Types gpjType, std::ostream& fout) { char const* tag; tag = GhsMultiGpj::GetGpjTag(gpjType); |