aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/lang.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-10 14:06:04 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-20 20:05:43 +0100
commit488038580934f301c1528a14548ec0cabd16c2cd (patch)
treeef0d5c2e3de1cd4dce86e319c68b90c2096d2408 /src/nvim/os/lang.c
parenta6e3d93421ba13c407a96fac9cc01fa41ec7ad98 (diff)
downloadrneovim-488038580934f301c1528a14548ec0cabd16c2cd.tar.gz
rneovim-488038580934f301c1528a14548ec0cabd16c2cd.tar.bz2
rneovim-488038580934f301c1528a14548ec0cabd16c2cd.zip
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.
Diffstat (limited to 'src/nvim/os/lang.c')
-rw-r--r--src/nvim/os/lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/lang.c b/src/nvim/os/lang.c
index d14c086a4f..e6db41a8ac 100644
--- a/src/nvim/os/lang.c
+++ b/src/nvim/os/lang.c
@@ -208,7 +208,7 @@ void ex_language(exarg_T *eap)
#ifdef HAVE_NL_MSG_CAT_CNTR
// Need to do this for GNU gettext, otherwise cached translations
// will be used again.
- extern int _nl_msg_cat_cntr;
+ extern int _nl_msg_cat_cntr; // NOLINT(bugprone-reserved-identifier)
_nl_msg_cat_cntr++;
#endif