mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Disable '-clang-analyzer-unix.Malloc' for now
This commit is contained in:
parent
cde10fe7b5
commit
3e0bc6fe42
@ -38,6 +38,8 @@ Checks: '*,
|
||||
-cert-oop54-cpp,
|
||||
-cert-oop57-cpp,
|
||||
|
||||
-clang-analyzer-unix.Malloc,
|
||||
|
||||
-cppcoreguidelines-*, # impractical in a codebase as large as ClickHouse, also slow
|
||||
|
||||
-darwin-*,
|
||||
|
@ -126,7 +126,6 @@ MergeTreeIndexGranulePtr MergeTreeIndexAggregatorAnnoy<Distance>::getGranuleAndR
|
||||
{
|
||||
int threads = (max_threads_for_creation == 0) ? -1 : static_cast<int>(max_threads_for_creation);
|
||||
/// clang-tidy reports a false positive: it considers %p with an outdated pointer in fprintf() (used by logging which we don't do) dereferencing
|
||||
// NOLINTNEXTLINE(clang-analyzer-unix.Malloc)
|
||||
index->build(static_cast<int>(trees), threads);
|
||||
auto granule = std::make_shared<MergeTreeIndexGranuleAnnoy<Distance>>(index_name, index_sample_block, index);
|
||||
index = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user