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:
parent
674d921202
commit
7edbe59c6c
16 changed files with 48 additions and 45 deletions
|
@ -120,7 +120,7 @@ static void createLinks(const Path& srcDir, const Path& dstDir, int priority) {
|
|||
}
|
||||
}
|
||||
|
||||
typedef std::set<Path> FileProp;
|
||||
using FileProp = std::set<Path>;
|
||||
|
||||
static FileProp done;
|
||||
static FileProp postponed = FileProp{};
|
||||
|
@ -158,7 +158,7 @@ struct Package {
|
|||
: path{path}, active{active}, priority{priority} {}
|
||||
};
|
||||
|
||||
typedef std::vector<Package> Packages;
|
||||
using Packages = std::vector<Package>;
|
||||
|
||||
void builtinBuildenv(const BasicDerivation& drv) {
|
||||
auto getAttr = [&](const std::string& name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue