mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
build: adjust clang-tidy warning exclusion logic
Enable all clang-tidy warnings by default instead of disabling them. This ensures that we don't miss useful warnings on each clang-tidy version upgrade. A drawback of this is that it will force us to either fix or adjust the warnings as soon as possible.
This commit is contained in:
@@ -2566,7 +2566,7 @@ static int opt_strings_flags(const char *val, char **values, unsigned *flagp, bo
|
||||
if (strncmp(values[i], val, len) == 0
|
||||
&& ((list && val[len] == ',') || val[len] == NUL)) {
|
||||
val += len + (val[len] == ',');
|
||||
assert(i < sizeof(1U) * 8);
|
||||
assert(i < sizeof(new_flags) * 8);
|
||||
new_flags |= (1U << i);
|
||||
break; // check next item in val list
|
||||
}
|
||||
|
Reference in New Issue
Block a user