This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Added more tests for scalars, enums and records for StrictAliasingChecker
Needs ReviewPublic

Authored by ASDenysPetrov on Jan 11 2022, 9:37 AM.

Details

Summary

Added tests to check aliasing:

  • scalars through records;
  • enums through records;
  • records through scalars;
  • records through enums;
  • records through records;
  • through multiple levels of aliasing
  • in different syntax contexts.

Diff Detail