mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
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.
This commit is contained in:
@@ -1260,11 +1260,10 @@ int recover_names(char *fname, bool do_list, list_T *ret_list, int nr, char **fn
|
||||
#ifdef HAVE_READLINK
|
||||
// Expand symlink in the file name, because the swapfile is created
|
||||
// with the actual file instead of with the symlink.
|
||||
if (resolve_symlink(fname, fname_buf) == OK) {
|
||||
fname_res = fname_buf;
|
||||
} else
|
||||
#endif
|
||||
fname_res = (resolve_symlink(fname, fname_buf) == OK) ? fname_buf : fname;
|
||||
#else
|
||||
fname_res = fname;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (do_list) {
|
||||
|
Reference in New Issue
Block a user