This commit is contained in:
Nikita Mikhailov 2021-01-20 01:31:33 +03:00 committed by Nikita Mikhaylov
parent 41d006d493
commit be0ab21bb1
3 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public:
get<CartesianPoint>(second_parser, second_container, i); get<CartesianPoint>(second_parser, second_container, i);
Geometry<CartesianPoint> polygons_union = CartesianMultiPolygon({{{{}}}}); Geometry<CartesianPoint> polygons_union = CartesianMultiPolygon({{{{}}}});
/// NOLINTNEXTLINE
boost::geometry::union_( boost::geometry::union_(
boost::get<CartesianMultiPolygon>(first_container), boost::get<CartesianMultiPolygon>(first_container),
boost::get<CartesianMultiPolygon>(second_container), boost::get<CartesianMultiPolygon>(second_container),

View File

@ -248,6 +248,7 @@ struct FormatImpl
/// Strings without null termination. /// Strings without null termination.
for (size_t i = 1; i < substrings.size(); ++i) for (size_t i = 1; i < substrings.size(); ++i)
{ {
/// NOLINTNEXTLINE(clang-analyzer-core.CallAndMessage)
final_size += data[index_positions[i - 1]]->size(); final_size += data[index_positions[i - 1]]->size();
/// Fixed strings do not have zero terminating character. /// Fixed strings do not have zero terminating character.
if (offsets[index_positions[i - 1]]) if (offsets[index_positions[i - 1]])

View File

@ -171,6 +171,7 @@ void StorageSystemQuotaUsage::fillDataImpl(
for (auto resource_type : ext::range(Quota::MAX_RESOURCE_TYPE)) for (auto resource_type : ext::range(Quota::MAX_RESOURCE_TYPE))
{ {
const auto & type_info = ResourceTypeInfo::get(resource_type); const auto & type_info = ResourceTypeInfo::get(resource_type);
/// NOLINTNEXTLINE(clang-analyzer-core.CallAndMessage)
addValue(*column_max[resource_type], *column_max_null_map[resource_type], interval->max[resource_type], type_info); addValue(*column_max[resource_type], *column_max_null_map[resource_type], interval->max[resource_type], type_info);
addValue(*column_usage[resource_type], *column_usage_null_map[resource_type], interval->used[resource_type], type_info); addValue(*column_usage[resource_type], *column_usage_null_map[resource_type], interval->used[resource_type], type_info);
} }