mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +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:
@@ -852,9 +852,6 @@ static void find_word(matchinf_T *mip, int mode)
|
||||
mip->mi_compoff = (int)(p - mip->mi_fword);
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
c = mip->mi_compoff;
|
||||
#endif
|
||||
mip->mi_complen++;
|
||||
if (flags & WF_COMPROOT) {
|
||||
mip->mi_compextra++;
|
||||
@@ -880,16 +877,6 @@ static void find_word(matchinf_T *mip, int mode)
|
||||
// Find following word in keep-case tree.
|
||||
mip->mi_compoff = wlen;
|
||||
find_word(mip, FIND_KEEPCOMPOUND);
|
||||
|
||||
#if 0 // Disabled, a prefix must not appear halfway through a compound
|
||||
// word, unless the COMPOUNDPERMITFLAG is used, in which case it
|
||||
// can't be a postponed prefix.
|
||||
if (!slang->sl_nobreak || mip->mi_result == SP_BAD) {
|
||||
// Check for following word with prefix.
|
||||
mip->mi_compoff = c;
|
||||
find_prefix(mip, FIND_COMPOUND);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!slang->sl_nobreak) {
|
||||
|
Reference in New Issue
Block a user