This is an archive of the discontinued LLVM Phabricator instance.

When diagnosing taking address of packed members skip __unaligned-qualified expressions
ClosedPublic

Authored by rogfer01 on Mar 13 2017, 3:39 AM.

Details

Summary

Given that we have already explicitly stated in the qualifier that the expression is __unaligned,
it makes little sense to diagnose that the address of the packed member may not be aligned.

Diff Detail

Repository
rL LLVM

Event Timeline

rogfer01 created this revision.Mar 13 2017, 3:39 AM
This revision is now accepted and ready to land.Mar 13 2017, 5:11 AM

Thanks for the review @aaron.ballman!

This revision was automatically updated to reflect the committed changes.