Timm Baeder
21b99e1311
[clang][bytecode] Check reads for null block pointers ( #157695 )
...
All pointer types can be null, so check that independently from the
pointer type.
Fixes #157650
2025-09-11 06:35:28 +02:00
Timm Baeder
107fe0ec6c
[clang][bytecode] Fix a crash in CheckConstantExpression ( #129752 )
...
The APValue we generated for a pointer with a LValueReferenceType base
had an incorrect lvalue path attached.
The attached test case is extracted from libc++'s regex.cpp.
2025-03-05 08:21:51 +01:00
Timm Bäder
f79722b932
[clang][bytecode][NFC] Move test case to -verify=both style
2024-09-02 13:15:48 +02:00
Timm Baeder
e4f3b56dae
[clang][bytecode] Fix diagnosing reads from temporaries ( #106868 )
...
Fix the DeclID not being set in global temporaries and use the same
strategy for deciding if a temporary is readable as the current
interpreter.
2024-09-01 07:40:43 +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