style(tvix): Replace remaining typedefs with using statements

Change (mostly) created via:

  fd . -e hh -e cc | parallel clang-tidy -p ~/builds/nix --fix "'--checks=-*,modernize-use-using'"

Change-Id: I90ad6e64a5399f2005dfb9956074ec51c2c78cea
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1830
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2020-08-21 03:23:04 +01:00 committed by tazjin
parent 674d921202
commit 7edbe59c6c
16 changed files with 48 additions and 45 deletions

View file

@ -201,7 +201,7 @@ struct DIRDeleter {
void operator()(DIR* dir) const { closedir(dir); }
};
typedef std::unique_ptr<DIR, DIRDeleter> AutoCloseDir;
using AutoCloseDir = std::unique_ptr<DIR, DIRDeleter>;
class Pid {
pid_t pid = -1;
@ -457,7 +457,7 @@ struct MaintainCount {
std::pair<unsigned short, unsigned short> getWindowSize();
/* Used in various places. */
typedef std::function<bool(const Path& path)> PathFilter;
using PathFilter = std::function<bool(const Path&)>;
extern PathFilter defaultPathFilter;