As discussed on IRC. This is just the bare minimum to support virtual base classes.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D137562
[clang][Interp] Start supporting virtual base classes AbandonedPublic Authored by tbaeder on Nov 7 2022, 8:59 AM.
Details
Summary As discussed on IRC. This is just the bare minimum to support virtual base classes.
Diff Detail
Revision Contents
Diff 473691 clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/Descriptor.cpp
clang/test/AST/Interp/records.cpp
|
To recurse or not seems to be a property of whether the base is virtual or not.
Maybe a enum w/ Base and Virtual base would be better and then the logic of whether to recurse can be kept local to the lambda,