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
2
third_party/nix/src/libutil/args.hh
vendored
2
third_party/nix/src/libutil/args.hh
vendored
|
|
@ -212,7 +212,7 @@ Strings argvToStrings(int argc, char** argv);
|
|||
std::string renderLabels(const Strings& labels);
|
||||
|
||||
/* Helper function for printing 2-column tables. */
|
||||
typedef std::vector<std::pair<std::string, std::string>> Table2;
|
||||
using Table2 = std::vector<std::pair<std::string, std::string> >;
|
||||
|
||||
void printTable(std::ostream& out, const Table2& table);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue