Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/geom-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ namespace {

void set_to_same_type(geometry_t *output, geometry_t const &input)
{
// NOLINTNEXTLINE(performance-unnecessary-value-param)
input.visit([&](auto in) { output->set<decltype(in)>(); });
}

Expand Down Expand Up @@ -434,7 +435,7 @@ class split_visitor
{}

template <typename T>
void operator()(T) const
void operator()(T const &) const
{}

// false positive https://github.com/llvm/llvm-project/issues/74738
Expand Down Expand Up @@ -544,8 +545,9 @@ namespace {
* empty, do not add the first point returned by *it.
*/
template <typename ITERATOR>
void add_nodes_to_linestring(linestring_t *linestring, ITERATOR it,
ITERATOR end)
void add_nodes_to_linestring(
linestring_t *linestring, ITERATOR it,
ITERATOR end) // NOLINT(performance-unnecessary-value-param)
{
if (!linestring->empty()) {
assert(it != end);
Expand Down
1 change: 1 addition & 0 deletions src/wildcmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*
* Returns if a match was found.
*/
// NOLINTNEXTLINE(misc-use-internal-linkage) Seems there is a bug in the checker
bool wild_match(char const *expr, char const *str) noexcept
{
// Code based on
Expand Down