build: update clang v21, fix warnings

- `src/nvim/ex_cmds_defs.h`: use "U" instead of "u" per
  `readability-uppercase-literal-suffix`
This commit is contained in:
dundargoc
2025-11-09 21:22:54 +01:00
committed by Justin M. Keyes
parent e243bed18f
commit 8a4bee3ed0
55 changed files with 122 additions and 116 deletions

View File

@@ -1730,7 +1730,7 @@ static void enter_buffer(buf_T *buf)
// Stop Visual mode before changing curbuf. Assumes curbuf and curwin->w_buffer is valid; if not,
// buf_freeall() should've done this already!
if (VIsual_active
#if defined(EXITFREE)
#ifdef EXITFREE
&& !entered_free_all_mem
#endif
) {
@@ -3177,7 +3177,7 @@ int buflist_add(char *fname, int flags)
return 0;
}
#if defined(BACKSLASH_IN_FILENAME)
#ifdef BACKSLASH_IN_FILENAME
/// Adjust slashes in file names. Called after 'shellslash' was set.
void buflist_slash_adjust(void)
{
@@ -3498,7 +3498,7 @@ void resettitle(void)
ui_call_set_title(cstr_as_string(lasttitle));
}
#if defined(EXITFREE)
#ifdef EXITFREE
void free_titles(void)
{
xfree(lasttitle);