mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
silence selected clang-tidy violations
This commit is contained in:
parent
96f6fe6b57
commit
fb461cacba
@ -53,8 +53,9 @@ void cmGeneratorExpressionDAGChecker::Initialize()
|
||||
|
||||
#define TEST_TRANSITIVE_PROPERTY_METHOD(METHOD) top->METHOD() ||
|
||||
|
||||
if (CheckResult == DAG && (CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(
|
||||
TEST_TRANSITIVE_PROPERTY_METHOD) false))
|
||||
if (CheckResult == DAG &&
|
||||
(CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(
|
||||
TEST_TRANSITIVE_PROPERTY_METHOD) false)) // NOLINT(clang-tidy)
|
||||
#undef TEST_TRANSITIVE_PROPERTY_METHOD
|
||||
{
|
||||
std::map<std::string, std::set<std::string> >::const_iterator it =
|
||||
|
@ -1035,7 +1035,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
|
||||
#define TRANSITIVE_PROPERTY_COMPARE(PROPERTY) \
|
||||
(#PROPERTY == propertyName || "INTERFACE_" #PROPERTY == propertyName) ||
|
||||
if (CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(
|
||||
TRANSITIVE_PROPERTY_COMPARE) false) {
|
||||
TRANSITIVE_PROPERTY_COMPARE) false) { // NOLINT(clang-tidy)
|
||||
reportError(
|
||||
context, content->GetOriginalExpression(),
|
||||
"$<TARGET_PROPERTY:...> expression in link libraries "
|
||||
@ -1052,7 +1052,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
|
||||
#define ASSERT_TRANSITIVE_PROPERTY_METHOD(METHOD) dagCheckerParent->METHOD() ||
|
||||
|
||||
assert(CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(
|
||||
ASSERT_TRANSITIVE_PROPERTY_METHOD) false);
|
||||
ASSERT_TRANSITIVE_PROPERTY_METHOD) false); // NOLINT(clang-tidy)
|
||||
#undef ASSERT_TRANSITIVE_PROPERTY_METHOD
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user