diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:24 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:30 (GMT) |
commit | 4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch) | |
tree | 6c34e88cf1b2a6fde07c07508883fc1d8feff83e /Source/CTest | |
parent | 473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff) | |
download | CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.zip CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.bz2 |
clang-tidy: Blacklist violations for version 8
Check the codebase with clang-tidy version 8, fix the low hanging
fruits, blacklist the rest.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmParseBlanketJSCoverage.cxx | 3 | ||||
-rw-r--r-- | Source/CTest/cmParseBlanketJSCoverage.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmParseBlanketJSCoverage.cxx b/Source/CTest/cmParseBlanketJSCoverage.cxx index 63d6a15..b74decb 100644 --- a/Source/CTest/cmParseBlanketJSCoverage.cxx +++ b/Source/CTest/cmParseBlanketJSCoverage.cxx @@ -110,7 +110,8 @@ cmParseBlanketJSCoverage::cmParseBlanketJSCoverage( { } -bool cmParseBlanketJSCoverage::LoadCoverageData(std::vector<std::string> files) +bool cmParseBlanketJSCoverage::LoadCoverageData( + std::vector<std::string> const& files) { cmCTestOptionalLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "Found " << files.size() << " Files" << std::endl, diff --git a/Source/CTest/cmParseBlanketJSCoverage.h b/Source/CTest/cmParseBlanketJSCoverage.h index 696121f..cd1b225 100644 --- a/Source/CTest/cmParseBlanketJSCoverage.h +++ b/Source/CTest/cmParseBlanketJSCoverage.h @@ -29,7 +29,7 @@ class cmParseBlanketJSCoverage public: cmParseBlanketJSCoverage(cmCTestCoverageHandlerContainer& cont, cmCTest* ctest); - bool LoadCoverageData(std::vector<std::string> files); + bool LoadCoverageData(std::vector<std::string> const& files); // Read the JSON output bool ReadJSONFile(std::string const& file); |