diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index 0df086b039..46a7d50fdd 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -2916,8 +2916,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode return std::string(); } } else { - assert(dagCheckerParent - ->EvaluatingTransitiveProperty()); // NOLINT(clang-tidy) + assert(dagCheckerParent->EvaluatingTransitiveProperty()); } }