Code style: add missed explicit 'this->'

CMake uses explicit 'this->' style. Using custom clang-tidy check we can
detect and fix places where 'this->' was missed.
This commit is contained in:
Oleksandr Koval
2021-01-05 14:32:36 +02:00
parent 764ce15ffb
commit 209daa20b2
127 changed files with 5229 additions and 4583 deletions

View File

@@ -96,8 +96,8 @@ public:
// If it's an absolute path, check if it starts with the source
// directory:
return !(cmCMakePath(SourceDir).IsPrefix(path) ||
cmCMakePath(BinaryDir).IsPrefix(path));
return !(cmCMakePath(this->SourceDir).IsPrefix(path) ||
cmCMakePath(this->BinaryDir).IsPrefix(path));
}
private: