diff options
-rw-r--r-- | bindings/test/bindings_test_plugin.c | 2 | ||||
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/.clang-tidy | 3 | ||||
-rw-r--r-- | src/plugin.c | 2 | ||||
-rw-r--r-- | test/cpp/.clang-tidy | 4 |
5 files changed, 8 insertions, 5 deletions
diff --git a/bindings/test/bindings_test_plugin.c b/bindings/test/bindings_test_plugin.c index cdbdbb9..0397db4 100644 --- a/bindings/test/bindings_test_plugin.c +++ b/bindings/test/bindings_test_plugin.c @@ -174,7 +174,7 @@ static const LV2_Descriptor descriptor = {TEST_URI, The lv2_descriptor() function is the entry point to the plugin library. The host will load the library and call this function repeatedly with increasing indices to find all the plugins defined in the library. The index is not an - indentifier, the URI of the returned descriptor is used to determine the + identifier, the URI of the returned descriptor is used to determine the identify of the plugin. This method is in the ``discovery'' threading class, so no other functions diff --git a/meson.build b/meson.build index 4e3193a..a9a0b8b 100644 --- a/meson.build +++ b/meson.build @@ -308,7 +308,7 @@ lilv_dep = declare_dependency( link_with: liblilv, ) -# Generage pkg-config file for external dependants +# Generate pkg-config file for external dependants pkg.generate( liblilv, description: 'Library for hosting LV2 plugins', diff --git a/src/.clang-tidy b/src/.clang-tidy index 9cc7cdc..0d90367 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright 2020-2024 David Robillard <d@drobilla.net> +# Copyright 2020-2025 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > @@ -7,6 +7,7 @@ Checks: > -bugprone-narrowing-conversions, -cert-err33-c, -clang-analyzer-optin.core.EnumCastOutOfRange, + -clang-analyzer-optin.taint.TaintedAlloc, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -clang-analyzer-valist.Uninitialized, -concurrency-mt-unsafe, diff --git a/src/plugin.c b/src/plugin.c index d828f6f..c82bb65 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -307,7 +307,7 @@ lilv_plugin_load_ports_if_necessary(const LilvPlugin* const_plugin) plugin->num_ports = this_index + 1; } - // Havn't seen this port yet, add it to array + // Haven't seen this port yet, add it to array if (!this_port) { this_port = lilv_port_new( plugin->world, port, this_index, lilv_node_as_string(symbol)); diff --git a/test/cpp/.clang-tidy b/test/cpp/.clang-tidy index 5d20fa0..a087a3d 100644 --- a/test/cpp/.clang-tidy +++ b/test/cpp/.clang-tidy @@ -1,7 +1,8 @@ -# Copyright 2020-2022 David Robillard <d@drobilla.net> +# Copyright 2020-2025 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > + -*-nullptr, -cert-dcl50-cpp, -cppcoreguidelines-macro-usage, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, @@ -14,6 +15,7 @@ Checks: > -modernize-return-braced-init-list, -modernize-use-nodiscard, -modernize-use-trailing-return-type, + -modernize-use-using, -readability-implicit-bool-conversion, HeaderFilterRegex: '.*/lilvmm\.hpp' InheritParentConfig: true |