[clang-tools-extra] [clang-tidy] Take type aliases into account (PR #150842)
Danny Mösch via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 27 11:52:38 PDT 2025
================
@@ -224,3 +224,22 @@ std::array a{1,2,3};
std::array<int,2> b{10, 11};
using array = std::array<int, 2>;
array c{10, 11};
+
+struct S16 {
+ int a;
+ int b;
+};
+
+using S17 = S16;
+
+S17 s171{1, 2};
----------------
SimplyDanny wrote:
There are. It's just that the test infrastructure doesn't require them.
Added them ...
https://github.com/llvm/llvm-project/pull/150842
More information about the cfe-commits
mailing list