mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 13:18:37 -06:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user