#
51c7338c |
| 29-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix dummy handling for p2280r4 (#124396)
This makes some other problems show up like the fact that we didn't suppress diagnostics during __builtin_constant_p evaluation.
|
Revision tags: llvmorg-21-init, llvmorg-19.1.7 |
|
#
3496e96f |
| 28-Dec-2024 |
Timm Bäder <tbaeder@redhat.com> |
[clang][bytecode] Add a missing break
|
#
e86b68ff |
| 28-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Add support for typeid pointers (#121251)
Add it as another kind of pointer, saving both a `Type*` for the result of the typeid() expression as well as one for the type of the type
[clang][bytecode] Add support for typeid pointers (#121251)
Add it as another kind of pointer, saving both a `Type*` for the result of the typeid() expression as well as one for the type of the typeid expression.
show more ...
|
#
39e8953f |
| 28-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Move a local variable to a later point (#121250)
We don't need `E` before.
|
Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4 |
|
#
2c820799 |
| 31-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix Pointer::toAPValue() for multidimensional arrays (#114400)
When we see an array root, that pointer might yet again be an array
element, so check for that.
|
Revision tags: llvmorg-19.1.3 |
|
#
df8b7858 |
| 21-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Narrow pointer in UO_Deref unary operators (#113089)
Otherwise we treat this like an array element even though we should
treat it as a single object.
|
Revision tags: llvmorg-19.1.2 |
|
#
36b07077 |
| 11-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Return an lvalue path for dummy pointers (#111862)
Not doing this is wrong in general and we need to reject expressions
where it would matter differently.
|
#
800b0739 |
| 04-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Change isArrayElement() for narrowed composite arrays (#111110)
Make isArrayElement() return true here, so we can know that such a
pointer is in fact an array element and handle i
[clang][bytecode] Change isArrayElement() for narrowed composite arrays (#111110)
Make isArrayElement() return true here, so we can know that such a
pointer is in fact an array element and handle it properly in
toAPValue().
show more ...
|
Revision tags: llvmorg-19.1.1 |
|
#
904f58e6 |
| 19-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Use field descriptor in IntPointer::atOffset (#109238)
We're otherwise still pointing to the old type, but with the new offset.
|
Revision tags: llvmorg-19.1.0 |
|
#
43fd2c40 |
| 12-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement base casts on integral pointers (#108340)
Get the right offset to apply from the RecordLayout.
|
Revision tags: llvmorg-19.1.0-rc4 |
|
#
360e4abf |
| 31-Aug-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Diagnose comparisons with literals (#106734)
This requires adding a new opcode for PointerToBoolean casts, since we
otherwise emit too many diagnostics. But that fixes an older pr
[clang][bytecode] Diagnose comparisons with literals (#106734)
This requires adding a new opcode for PointerToBoolean casts, since we
otherwise emit too many diagnostics. But that fixes an older problem
when casting weak pointers to bool.
show more ...
|
Revision tags: llvmorg-19.1.0-rc3 |
|
#
dac18299 |
| 18-Aug-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] IntPointer::atOffset() should append (#104686)
... to current offset. This breaks other tests which this commit also
fixes. Namely, getIndex() should return the integer representa
[clang][bytecode] IntPointer::atOffset() should append (#104686)
... to current offset. This breaks other tests which this commit also
fixes. Namely, getIndex() should return the integer representation for
non-block pointers.
show more ...
|
#
07bd3bb9 |
| 17-Aug-2024 |
Timm Bäder <tbaeder@redhat.com> |
[clang][bytecode][NFC] Improve Pointer::print()
Do not access PointeeStorage.BS.Pointee if we have a non-block pointer and extend printing to handle function pointers as well.
|
#
a07aba5d |
| 16-Aug-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang] Rename all AST/Interp stuff to AST/ByteCode (#104552)
"Interp" clashes with the clang interpreter and people often confuse
this.
|