The GetPtrBasePop op we were using only works for direct base classes.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/lib/AST/Interp/ByteCodeExprGen.cpp | ||
---|---|---|
1949 | ||
clang/test/AST/Interp/records.cpp | ||
266 | I think it'd be good to add test coverage for cases like: https://godbolt.org/z/GnPnP4z76 |
clang/test/AST/Interp/records.cpp | ||
---|---|---|
266 | That even worked :) |