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

@@ -577,7 +577,7 @@ static void emit_err(Error_T *e)
}
}
#if defined(UNIX)
#ifdef UNIX
static int get_fileinfo_os(char *fname, FileInfo *file_info_old, bool overwriting, int *perm,
bool *device, bool *newfile, Error_T *err)
@@ -1158,7 +1158,7 @@ int buf_write(buf_T *buf, char *fname, char *sfname, linenr_T start, linenr_T en
}
}
#if defined(UNIX)
#ifdef UNIX
bool made_writable = false; // 'w' bit has been set
// When using ":w!" and the file was read-only: make it writable
@@ -1665,7 +1665,7 @@ restore_backup:
lnum -= start; // compute number of written lines
no_wait_return--; // may wait for return now
#if !defined(UNIX)
#ifndef UNIX
fname = sfname; // use shortname now, for the messages
#endif
if (!filtering) {