diff options
author | Brad King <brad.king@kitware.com> | 2016-05-06 18:49:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-06 18:51:26 (GMT) |
commit | 85425a3e6c40b1035a4be98466d8df9cad9bf479 (patch) | |
tree | a3cc6e71d8cc41f680861a28bc7828161eff3b8a /Source/CTest | |
parent | 64b5520346c75ec479042a114390a0bf71909723 (diff) | |
download | CMake-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/CTest')
-rw-r--r-- | Source/CTest/cmCTestGIT.h | 4 | ||||
-rw-r--r-- | Source/CTest/cmCTestVC.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestGIT.h b/Source/CTest/cmCTestGIT.h index f4fae8f..3d45da8 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 bc89302..1caa850 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 |