all: clang-tidy updates

This commit is contained in:
Markus F.X.J. Oberhumer
2023-07-08 09:59:41 +02:00
parent d7754a97c7
commit 5edfda46e5
9 changed files with 52 additions and 15 deletions
+5 -1
View File
@@ -60,12 +60,14 @@ static constexpr unsigned MAX_ELF_HDR_64 = 1024;
static unsigned const EF_ARM_EABI_VER4 = 0x04000000;
static unsigned const EF_ARM_EABI_VER5 = 0x05000000;
unsigned char PackLinuxElf::o_shstrtab[] = { \
/*static*/ const unsigned char PackLinuxElf::o_shstrtab[] = { \
/*start*/ '\0',
/*offset 1*/ '.','n','o','t','e','.','g','n','u','.','b','u','i','l','d','-','i','d','\0',
/*offset 20*/ '.','s','h','s','t','r','t','a','b','\0'
};
// NOLINTBEGIN(clang-analyzer-*)
static unsigned
umin(unsigned a, unsigned b)
{
@@ -8487,4 +8489,6 @@ void PackLinuxElf::unpack(OutputFile * /*fo*/)
throwCantUnpack("internal error");
}
// NOLINTEND(clang-analyzer-*)
/* vim:set ts=4 sw=4 et: */