summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:48:49 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commitbcada09e451b4765ec1239ad11a282ed3ccbc71b (patch)
tree02e08c78359d9f31211992878858d25fd415a060
parent860adec5283c8ee7b01c0c1b2e811ae305f3602d (diff)
downloadCMake-bcada09e451b4765ec1239ad11a282ed3ccbc71b.zip
CMake-bcada09e451b4765ec1239ad11a282ed3ccbc71b.tar.gz
CMake-bcada09e451b4765ec1239ad11a282ed3ccbc71b.tar.bz2
clang-tidy: fix `readability-redundant-access-specifiers` lints
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h1
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index b76db10..3e20ada 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -193,7 +193,6 @@ protected:
using UtilityDependsMap = std::map<cmGeneratorTarget const*, std::string>;
UtilityDependsMap UtilityDepends;
-protected:
VSVersion Version;
bool ExpressEdition;
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 60e9736..166cdf7 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -203,7 +203,6 @@ private:
void WriteStdOutEncodingUtf8(Elem& e1);
void UpdateCache();
-private:
friend class cmVS10GeneratorOptions;
using Options = cmVS10GeneratorOptions;
using OptionsMap = std::map<std::string, std::unique_ptr<Options>>;