This is just a humble beginning of course.
Posting this now for your weekend reading. And also to keep the individual patches small.
Differential D134057
[clang][Interp] Start implementing record types tbaeder on Sep 16 2022, 10:27 AM. Authored by
Details This is just a humble beginning of course. Posting this now for your weekend reading. And also to keep the individual patches small.
Diff Detail Event Timeline
Comment Actions LGTM aside from a minor nit, we can handle the other cases in follow-ups.
|
I THINK Member is a ValueDecl because it could be a member function, right? So forcing it to be a FieldDecl here is likely not valid. Perhaps in the 'non-FieldDecl' case we could jsut return false for now?
ALSO, don't do a dyn_cast followed by an assert, cast will do the assert for you.