[clang-tidy] annotate bugprone-suspicious-missing-comma

This commit is contained in:
akallabeth 2024-09-30 19:14:18 +02:00
parent 9eeeef6976
commit 7fdb3a68bd
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@
#define mime_text_plain "text/plain"
#define mime_text_utf8 mime_text_plain ";charset=utf-8"
// NOLINTNEXTLINE(bugprone-suspicious-missing-comma)
static const char* mime_text[] = { mime_text_plain, mime_text_utf8, "UTF8_STRING",
"COMPOUND_TEXT", "TEXT", "STRING" };

View File

@ -116,6 +116,7 @@ typedef struct
} modified_arguments[8];
} test;
// NOLINTBEGIN(bugprone-suspicious-missing-comma)
static const test tests[] = {
{ COMMAND_LINE_STATUS_PRINT_HELP,
check_settings_smartcard_no_redirection,
@ -208,6 +209,7 @@ static const test tests[] = {
},
#endif
};
// NOLINTEND(bugprone-suspicious-missing-comma)
static void check_modified_arguments(const test* test, char** command_line, int* rc)
{