Fix or suppress clang-tidy warnings (#8254)

This commit is contained in:
Tyler Veness
2025-09-25 21:28:04 -07:00
committed by GitHub
parent 5003939b64
commit ab53d51c6f
28 changed files with 62 additions and 56 deletions

View File

@@ -177,6 +177,7 @@ static_assert(ValidType<uint8_t[]>);
static_assert(ValidType<std::vector<uint8_t>>);
template <ValidType T, NT_Type type>
// NOLINTNEXTLINE(google-readability-casting)
constexpr bool IsNTType = TypeInfo<std::remove_cvref_t<T>>::kType == type;
static_assert(IsNTType<bool, NT_BOOLEAN>);

View File

@@ -4,6 +4,8 @@
#pragma once
#include <stdint.h>
#include <functional>
#include <string_view>