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 | ||
---|---|---|
1956 | ||
clang/test/AST/Interp/records.cpp | ||
278 | I think it'd be good to add test coverage for cases like: https://godbolt.org/z/GnPnP4z76 |
clang/test/AST/Interp/records.cpp | ||
---|---|---|
278 | That even worked :) |