Add clangd-diag-all-source and run it

This commit is contained in:
2026-03-12 19:12:37 -04:00
parent c6f7a89ccd
commit 9f90c14aa4
18 changed files with 125 additions and 4 deletions

View File

@@ -503,7 +503,7 @@ constexpr auto dec = FormattedNumber<int>(0, false, 0, ' ', 6);
// Returns zero if the string is empty, too long, or contains
// invalid characters.
//
static constexpr uint64_t encode_token(std::string_view str) {
[[maybe_unused]] static constexpr uint64_t encode_token(std::string_view str) {
if (str.size() > 12) return 0;
if (str.empty()) return 0;