diff options
author | Timm Baeder <tbaeder@redhat.com> | 2024-08-06 13:37:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 13:37:11 +0200 |
commit | 59e13666dd2e81e58253488a29635fb2992ed741 (patch) | |
tree | c32b9f648ab650b63f8d713c01a332c0cdb00a0e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c3c2370c9a2465f57849861b13c59566b6f26daf (diff) | |
download | llvm-59e13666dd2e81e58253488a29635fb2992ed741.zip llvm-59e13666dd2e81e58253488a29635fb2992ed741.tar.gz llvm-59e13666dd2e81e58253488a29635fb2992ed741.tar.bz2 |
[clang][Interp] Fix getField() for integral pointers (#102120)
Instead of just adding the Record::Field offset, instead get the
FieldDecl offset in the RecordLayout.
Unfortunately, the offset we pass to the ops here is not made to easily
go back to a FieldDecl, so we have to iterate over the parent Record.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions