diff options
author | dundargoc <gocdundar@gmail.com> | 2023-11-10 14:06:04 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-11-20 20:05:43 +0100 |
commit | 488038580934f301c1528a14548ec0cabd16c2cd (patch) | |
tree | ef0d5c2e3de1cd4dce86e319c68b90c2096d2408 /src/nvim/gettext.h | |
parent | a6e3d93421ba13c407a96fac9cc01fa41ec7ad98 (diff) | |
download | rneovim-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/gettext.h')
-rw-r--r-- | src/nvim/gettext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/gettext.h b/src/nvim/gettext.h index 6ce40f4a85..cbc080e7b7 100644 --- a/src/nvim/gettext.h +++ b/src/nvim/gettext.h @@ -2,7 +2,7 @@ #ifdef HAVE_WORKING_LIBINTL # include <libintl.h> -# define _(x) gettext(x) +# define _(x) gettext(x) // NOLINT(bugprone-reserved-identifier) // XXX do we actually need this? # ifdef gettext_noop # define N_(x) gettext_noop(x) @@ -16,7 +16,7 @@ # undef setlocale # endif #else -# define _(x) ((char *)(x)) +# define _(x) ((char *)(x)) // NOLINT(bugprone-reserved-identifier) # define N_(x) x # define NGETTEXT(x, xs, n) ((n) == 1 ? (x) : (xs)) # define bindtextdomain(x, y) // empty |