mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Fix newly discovered clang-tidy issues
Clang-tidy reports some issues only from the currently compiled source file and its associated header file. Separating the compilation of commands exposed some clang-tidy issues that were not reported previously. Fix them.
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
||||
void FinalPass() CM_OVERRIDE;
|
||||
bool HasFinalPass() const CM_OVERRIDE
|
||||
{
|
||||
return this->info.FinalPass ? true : false;
|
||||
return this->info.FinalPass != CM_NULLPTR;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user