xbolva00 added a comment.

&a[0] is really UB in C? Oh =[

Can we have clang warning also for this case? And suggest “a”?

Very common code, I think. Hopefully llvm’s optimizers do not exploit this case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67122/new/

https://reviews.llvm.org/D67122



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

Reply via email to