This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Use `isRecordType()` where appropriate.
ClosedPublic

Authored by mboehme on Apr 5 2023, 5:32 AM.

Details

Summary

This is less verbose than checking for class, struct, and union individually,
and I believe it's also more efficient (not that that should be the overriding
concern).

Diff Detail

Event Timeline

mboehme created this revision.Apr 5 2023, 5:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.Apr 5 2023, 5:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 5:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sammccall accepted this revision.Apr 5 2023, 7:39 AM
This revision is now accepted and ready to land.Apr 5 2023, 7:39 AM
xazax.hun accepted this revision.Apr 5 2023, 7:45 AM

Failing CodeGen test in premerge check appears to be a pre-existing failure. (I'm not touching anything related to CodeGen here.)

This revision was landed with ongoing or failed builds.Apr 6 2023, 12:26 AM
This revision was automatically updated to reflect the committed changes.