1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 04:24:36 +08:00

Remove unused 'class cmake' members

* The `InTryCompile` member has been unused since commit 62854e9966
  (cmState: Move try_compile state from cmake class., 2015-04-11,
  v3.3.0-rc1~196^2~9).

* The `ConvertMessageType` and `IsMessageTypeVisible` members have been
  unused since commit 421012a330 (cmMessenger: Extract from cmake class,
  2016-01-28, v3.7.0-rc1~222^2~1).

* The `InitializeProperties` member has been unused since commit
  de722d7d63 (Move property initialization to cmState., 2015-04-06,
  v3.3.0-rc1~196^2~1).

Co-Author: Vitaly Stakhovsky <vvs31415@gitlab.org>
This commit is contained in:
Brad King
2019-01-31 07:15:35 -05:00
parent 748d024551
commit ea9a376085

View File

@@ -443,7 +443,6 @@ public:
protected: protected:
void RunCheckForUnusedVariables(); void RunCheckForUnusedVariables();
void InitializeProperties();
int HandleDeleteCacheVariables(const std::string& var); int HandleDeleteCacheVariables(const std::string& var);
typedef std::vector<cmGlobalGeneratorFactory*> RegisteredGeneratorsVector; typedef std::vector<cmGlobalGeneratorFactory*> RegisteredGeneratorsVector;
@@ -486,7 +485,6 @@ protected:
private: private:
ProgressCallbackType ProgressCallback; ProgressCallbackType ProgressCallback;
bool InTryCompile;
WorkingMode CurrentWorkingMode; WorkingMode CurrentWorkingMode;
bool DebugOutput; bool DebugOutput;
bool Trace; bool Trace;
@@ -534,18 +532,6 @@ private:
void AppendGlobalGeneratorsDocumentation(std::vector<cmDocumentationEntry>&); void AppendGlobalGeneratorsDocumentation(std::vector<cmDocumentationEntry>&);
void AppendExtraGeneratorsDocumentation(std::vector<cmDocumentationEntry>&); void AppendExtraGeneratorsDocumentation(std::vector<cmDocumentationEntry>&);
/**
* Convert a message type between a warning and an error, based on the state
* of the error output CMake variables, in the cache.
*/
MessageType ConvertMessageType(MessageType t) const;
/*
* Check if messages of this type should be output, based on the state of the
* warning and error output CMake variables, in the cache.
*/
bool IsMessageTypeVisible(MessageType t) const;
}; };
#define CMAKE_STANDARD_OPTIONS_TABLE \ #define CMAKE_STANDARD_OPTIONS_TABLE \