JonasToth added a comment.

from my side mostly ok. I think the typedef points should be clarified, but I 
dont see more issues.



================
Comment at: test/clang-tidy/modernize-avoid-c-arrays.cpp:32
+
+using k = int[4];
+// CHECK-MESSAGES: :[[@LINE-1]]:11: warning: do not declare C-style arrays, 
use std::array<> instead
----------------
What happens for a variable of type `k`? Does the check warn, or only in the 
typedef?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53771



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to