lebedev.ri added a comment. `Warn for cases when the pointed to type is wider than the allocated type.` What does that mean? Is this talking about the size of the allocation, or the alignment?
Are you aware of the previous attempts, namely https://reviews.llvm.org/D33826? Please incorporate the tests from there. Please add tests with casts (that should normally be diagnosed) from types with explicitly specified alignment, that silence the warning. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D48866 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits