mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
Merge topic 'clang-tidy-2'
9a740f1bcmCPackIFWInstaller: fix validation of WizardStyle optiona168b4cccmServerProtocol: avoid copies in range for1ef22a26cmDocumentation: use ofstream local variableba8571ffclang-tidy: use operators for string comparison Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !738
This commit is contained in:
@@ -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 == "") {
|
||||
|
||||
Reference in New Issue
Block a user