This is an archive of the discontinued LLVM Phabricator instance.

[clang][NFC] Update test case struct-union-BE.c for opaque-pointers
AbandonedPublic

Authored by tingwang on Sep 12 2022, 11:41 PM.

Details

Summary

Update patterns in this test case to align with opaque-pointers, otherwise it will not be able to catch errors.

This is spotted during https://reviews.llvm.org/D133338 investigation. During test after removed !DirectTy->isStructTy(), this test case still passed.

Diff Detail

Event Timeline

tingwang created this revision.Sep 12 2022, 11:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 12 2022, 11:41 PM
tingwang requested review of this revision.Sep 12 2022, 11:41 PM
tingwang abandoned this revision.Oct 10 2022, 10:38 PM