summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiGpj.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-20 13:43:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-20 13:48:29 (GMT)
commitf7dca1fc97c08146da33a2d6a3ba22ad8e08d94a (patch)
tree81852e188c9f6b4aa08eb118e3aca4e0f495e66f /Source/cmGhsMultiGpj.cxx
parent41d796c09be11da2284182e7da7f79940e86e07b (diff)
downloadCMake-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.cxx6
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);