ran
run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-using' -fix
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
using namespace CSyncEnums;
using CSYNC_STATUS = CSyncEnums::csync_status_codes_e;
-typedef struct csync_file_stat_s csync_file_stat_t;
+using csync_file_stat_t = struct csync_file_stat_s;
struct OCSYNC_EXPORT csync_file_stat_s {
time_t modtime = 0;
static mbchar_t wd_buffer[WD_BUFFER_SIZE];
-typedef struct {
+using statevar = struct {
QByteArray result;
QByteArray ignored_dir;
-} statevar;
+};
/* remove the complete test dir */
static int wipe_testdir()