meta: suppress wrong warning by clang

This commit is contained in:
Michele Caini
2025-01-27 13:52:35 +01:00
parent 0aa6cb8301
commit 9ae5a3d7d4

View File

@@ -1505,6 +1505,7 @@ public:
/*! @copydoc meta_data::operator== */
[[nodiscard]] bool operator==(const meta_type &other) const noexcept {
// NOLINTNEXTLINE(clang-analyzer-core.NonNullParamChecker)
return (ctx == other.ctx) && ((node.info == nullptr) == (other.node.info == nullptr)) && (node.info == nullptr || (*node.info == *other.node.info));
}