From: Otto Moerbeek Date: Tue, 11 Mar 2025 10:16:49 +0000 (+0100) Subject: Clang-tidy annotation X-Git-Tag: rec-5.1.4~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15280%2Fhead;p=thirdparty%2Fpdns.git Clang-tidy annotation --- diff --git a/pdns/recursordist/syncres.cc b/pdns/recursordist/syncres.cc index f9da0515ce..2997715055 100644 --- a/pdns/recursordist/syncres.cc +++ b/pdns/recursordist/syncres.cc @@ -4188,6 +4188,7 @@ static void allowAdditionalEntry(std::unordered_set& allowedAdditionals } } +// NOLINTNEXTLINE(readability-function-cognitive-complexity) void SyncRes::sanitizeRecords(const std::string& prefix, LWResult& lwr, const DNSName& qname, const QType qtype, const DNSName& auth, bool wasForwarded, bool rdQuery) { const bool wasForwardRecurse = wasForwarded && rdQuery;