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
+1 -1
View File
@@ -27,7 +27,7 @@ cmInstallDirectoryGenerator::cmInstallDirectoryGenerator(
, Optional(optional)
{
// We need per-config actions if destination have generator expressions.
if (cmGeneratorExpression::Find(Destination) != std::string::npos) {
if (cmGeneratorExpression::Find(this->Destination) != std::string::npos) {
this->ActionsPerConfig = true;
}