xbolva00 added a comment.

Second thought, I don't think we should recommend std::size here (maybe it 
should be okay for clang static analyzers)
uint32_t data[] = {10, 20, 30, 40};
len = sizeof(data)/sizeof(*data); // "warn" on valid code to recommend 
std::size? I dont agree with such behaviour.

@rsmith?


https://reviews.llvm.org/D52949



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

Reply via email to