- key: modernize-pass-by-value.ValuesOnly
value: 'false'
- key: readability-function-cognitive-complexity.IgnoreMacros
- value: 'false'
+ value: 'true'
- key: modernize-loop-convert.IncludeStyle
value: llvm
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
continue;
}
- ThreadMSG* tmsg = new ThreadMSG(); // NOLINT: manual onwership handling
+ ThreadMSG* tmsg = new ThreadMSG(); // NOLINT: manual ownership handling
tmsg->func = func;
tmsg->wantAnswer = true;
if (write(threadInfo.pipes.writeToThread, &tmsg, sizeof(tmsg)) != sizeof(tmsg)) { // NOLINT: sizeof correct
if (resp) {
ret += *resp;
- delete resp; // NOLINT: manual ownershipm handling
+ delete resp; // NOLINT: manual ownership handling
resp = nullptr;
}
// coverity[leaked_storage]
initDontQuery(log);
- /* this needs to be done before parseACLs(), which call broadcastFunction() */
RecThreadInfo::setWeDistributeQueries(::arg().mustDo("pdns-distributes-queries"));
if (RecThreadInfo::weDistributeQueries()) {
SLOG(g_log << Logger::Warning << "PowerDNS Recursor itself will distribute queries over threads" << endl,