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