Cleanup: Clang-Tidy, modernize-use-using

Replace `typedef` with `using` in C++ code.

In the case of `typedef struct SomeName { ... } SomeName;` I removed the
`typedef` altogether, as this is unnecessary in C++. Such cases have been
rewritten to `struct SomeName { ... };`

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2020-12-04 12:46:43 +01:00
parent 10a8286a26
commit 7f2d356a67
13 changed files with 36 additions and 37 deletions

View File

@@ -37,7 +37,6 @@ Checks: >
-modernize-avoid-c-arrays,
-modernize-use-equals-default,
-modernize-use-nodiscard,
-modernize-use-using,
-modernize-loop-convert,
-modernize-pass-by-value,
-modernize-use-default-member-init,