[clang-tools-extra] [clang-tidy] Take type aliases into account (PR #150842)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 27 10:54:11 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};
----------------
vbvictor wrote:

Just to double check, there are no fix-its for aliases?

https://github.com/llvm/llvm-project/pull/150842


More information about the cfe-commits mailing list