summaryrefslogtreecommitdiff
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-06 14:49:44 -0400
committerBrad King <brad.king@kitware.com>2016-05-06 14:51:26 -0400
commit85425a3e6c40b1035a4be98466d8df9cad9bf479 (patch)
treea3cc6e71d8cc41f680861a28bc7828161eff3b8a /Source/CTest
parent64b5520346c75ec479042a114390a0bf71909723 (diff)
downloadcmake-85425a3e6c40b1035a4be98466d8df9cad9bf479.tar.gz
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/CTest')
-rw-r--r--Source/CTest/cmCTestGIT.h4
-rw-r--r--Source/CTest/cmCTestVC.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestGIT.h b/Source/CTest/cmCTestGIT.h
index f4fae8f9db..3d45da8e01 100644
--- a/Source/CTest/cmCTestGIT.h
+++ b/Source/CTest/cmCTestGIT.h
@@ -44,7 +44,9 @@ private:
void LoadRevisions();
void LoadModifications();
-public: // needed by older Sun compilers
+ // "public" needed by older Sun compilers
+public:
+
// Parsing helper classes.
class OneLineParser;
class DiffParser;
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h
index bc89302876..1caa85048e 100644
--- a/Source/CTest/cmCTestVC.h
+++ b/Source/CTest/cmCTestVC.h
@@ -69,7 +69,8 @@ protected:
virtual bool WriteXMLUpdates(cmXMLWriter& xml);
#if defined(__SUNPRO_CC) && __SUNPRO_CC <= 0x510
-public: // Sun CC 5.1 needs help to allow cmCTestSVN::Revision to see this
+ // Sun CC 5.1 needs help to allow cmCTestSVN::Revision to see this
+public:
#endif
/** Basic information about one revision of a tree or file. */
struct Revision