diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-21 19:51:35 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2018-11-21 23:11:37 (GMT) |
commit | 3e6058078433089f145903d25e06dafadeee9629 (patch) | |
tree | bbebc4edfd260ba50379e1ce6342bb6a07a53d71 /Source/CTest/cmCTestSVN.cxx | |
parent | 4e0c75b78f5745d1369867f25a46ab7d158b4469 (diff) | |
download | CMake-3e6058078433089f145903d25e06dafadeee9629.zip CMake-3e6058078433089f145903d25e06dafadeee9629.tar.gz CMake-3e6058078433089f145903d25e06dafadeee9629.tar.bz2 |
clang-tidy: Fix readability-static-accessed-through-instance
Enable the check in .clang-tidy and fix all warnings.
Diffstat (limited to 'Source/CTest/cmCTestSVN.cxx')
-rw-r--r-- | Source/CTest/cmCTestSVN.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 58d9b3d..6c439e9 100644 --- a/Source/CTest/cmCTestSVN.cxx +++ b/Source/CTest/cmCTestSVN.cxx @@ -330,13 +330,15 @@ private: if (name == "logentry") { this->Rev = Revision(); this->Rev.SVNInfo = &SVNRepo; - if (const char* rev = this->FindAttribute(atts, "revision")) { + if (const char* rev = + cmCTestSVN::LogParser::FindAttribute(atts, "revision")) { this->Rev.Rev = rev; } this->Changes.clear(); } else if (name == "path") { this->CurChange = Change(); - if (const char* action = this->FindAttribute(atts, "action")) { + if (const char* action = + cmCTestSVN::LogParser::FindAttribute(atts, "action")) { this->CurChange.Action = action[0]; } } |