mirror of
https://github.com/neovim/neovim.git
synced 2026-05-28 07:45:35 +00:00
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:
committed by
Justin M. Keyes
parent
e243bed18f
commit
8a4bee3ed0
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user