Merge topic 'clang-tidy-2'

9a740f1b cmCPackIFWInstaller: fix validation of WizardStyle option
a168b4cc cmServerProtocol: avoid copies in range for
1ef22a26 cmDocumentation: use ofstream local variable
ba8571ff clang-tidy: use operators for string comparison

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !738
This commit is contained in:
Brad King
2017-04-27 12:57:24 +00:00
committed by Kitware Robot
6 changed files with 27 additions and 39 deletions
+1 -1
View File
@@ -1735,7 +1735,7 @@ void cmCTestTestHandler::ExpandTestsToRunInformationForRerunFailed()
// bcc crashes if we attempt a normal substring comparison,
// hence the following workaround
std::string fileNameSubstring = fileName.substr(0, pattern.length());
if (fileNameSubstring.compare(pattern) != 0) {
if (fileNameSubstring != pattern) {
continue;
}
if (logName == "") {