summaryrefslogtreecommitdiffstats
path: root/Source/CPack/IFW/cmCPackIFWPackage.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-06 18:49:44 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-06 18:51:26 (GMT)
commit85425a3e6c40b1035a4be98466d8df9cad9bf479 (patch)
treea3cc6e71d8cc41f680861a28bc7828161eff3b8a /Source/CPack/IFW/cmCPackIFWPackage.h
parent64b5520346c75ec479042a114390a0bf71909723 (diff)
downloadCMake-85425a3e6c40b1035a4be98466d8df9cad9bf479.zip
CMake-85425a3e6c40b1035a4be98466d8df9cad9bf479.tar.gz
CMake-85425a3e6c40b1035a4be98466d8df9cad9bf479.tar.bz2
Move comments off of class access specifier lines
The clang-format tool may turn this: public: // comment about access specifier // unrelated comment indented with code ... Into: public: // comment about access specifier // unrelated comment indented with code ... Avoid this by moving comments off of access specifier lines.
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWPackage.h')
-rw-r--r--Source/CPack/IFW/cmCPackIFWPackage.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWPackage.h b/Source/CPack/IFW/cmCPackIFWPackage.h
index e647c16..4f3f40b 100644
--- a/Source/CPack/IFW/cmCPackIFWPackage.h
+++ b/Source/CPack/IFW/cmCPackIFWPackage.h
@@ -26,7 +26,9 @@ class cmXMLWriter;
*/
class cmCPackIFWPackage
{
-public: // Types
+public:
+ // Types
+
enum CompareTypes
{
CompareNone = 0x0,
@@ -61,14 +63,16 @@ public: // Types
}
};
-public: // [Con|De]structor
+public:
+ // [Con|De]structor
/**
* Construct package
*/
cmCPackIFWPackage();
-public: // Configuration
+public:
+ // Configuration
/// Human-readable name of the component
std::string DisplayName;
@@ -103,7 +107,8 @@ public: // Configuration
/// Determines that the package must always be installed
std::string ForcedInstallation;
-public: // Internal implementation
+public:
+ // Internal implementation
const char* GetOption(const std::string& op) const;
bool IsOn(const std::string& op) const;