Timm Baeder
4879f1612b
[clang][bytecode] Check memberpointer exprs for errors ( #185370 )
2026-03-09 10:10:00 +01:00
Timm Baeder
24fbf9deb0
[clang][bytecode] Add a path to MemberPointers ( #179050 )
...
Add a path and an `IsDerivedMember` member to our `MemberPointer` class.
Fix base-to-derived/derived-to-base casts. Add tests and unit tests,
since regular tests allow a lot and we want to check the path size
exactly.
2026-02-13 05:39:55 +01:00
Timm Baeder
a1acc4ab9f
[clang][bytecode] Fix discarded addrof operators... ( #180534 )
...
... of member pointers.
2026-02-10 06:00:58 +01:00
Timm Baeder
f91df0d58d
[clang][bytecode] Diagnose failed MemberPtrPtr casts differently ( #136407 )
...
Return Invalid() here instead of just false to match the diagnostic
output of the current interpreter.
2025-04-19 11:34:25 +02:00
Timm Baeder
aeca2aa193
[clang][bytecode] Fix CallPtr return type check ( #129722 )
...
CallExpr::getType() isn't enough here in some cases, we need to use
CallExpr::getCallReturnType().
2025-03-04 17:14:13 +01:00
Timm Baeder
c6605a0868
[clang][bytecode] Fix member pointers to IndirectFieldDecls ( #104756 )
2024-08-19 15:28:12 +02:00
Timm Baeder
a07aba5d44
[clang] Rename all AST/Interp stuff to AST/ByteCode ( #104552 )
...
"Interp" clashes with the clang interpreter and people often confuse
this.
2024-08-16 17:13:12 +02:00