mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
clang-tidy: fix warnings from version 7
Fix some warnings that are new since clang-tidy version 4, and update `.clang-tidy` to suppress the rest.
This commit is contained in:
committed by
Brad King
parent
1dc85a6652
commit
5731ec30f0
@@ -38,7 +38,7 @@ bool cmForEachFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff,
|
||||
// Remove the function blocker for this scope or bail.
|
||||
std::unique_ptr<cmFunctionBlocker> fb(
|
||||
mf.RemoveFunctionBlocker(this, lff));
|
||||
if (!fb.get()) {
|
||||
if (!fb) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user