summaryrefslogtreecommitdiff
path: root/Source/cmRST.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2018-06-01 09:53:41 -0400
committerBrad King <brad.king@kitware.com>2018-06-01 09:53:42 -0400
commitd7204e649ed4ebb19bb341b4e49eb51514364922 (patch)
treed9ac3ded5ae6899be7188795011743fe3e6da0a6 /Source/cmRST.cxx
parent12fed3edb107c949671043196fa94c542b45452a (diff)
downloadcmake-d7204e649ed4ebb19bb341b4e49eb51514364922.tar.gz
Revise C++ coding style using clang-format-6.0
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
Diffstat (limited to 'Source/cmRST.cxx')
-rw-r--r--Source/cmRST.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmRST.cxx b/Source/cmRST.cxx
index d9e5bcbd99..12817ae4b5 100644
--- a/Source/cmRST.cxx
+++ b/Source/cmRST.cxx
@@ -154,8 +154,9 @@ void cmRST::ProcessLine(std::string const& line)
this->LastLineEndedInColonColon = false;
// A line starting in .. is an explicit markup start.
- if (line == ".." || (line.size() >= 3 && line[0] == '.' && line[1] == '.' &&
- isspace(line[2]))) {
+ if (line == ".." ||
+ (line.size() >= 3 && line[0] == '.' && line[1] == '.' &&
+ isspace(line[2]))) {
this->Reset();
this->Markup =
(line.find_first_not_of(" \t", 2) == std::string::npos ? MarkupEmpty