summaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/invalid.cpp
AgeCommit message (Collapse)Author
2025-11-17[clang][bytecode] Check pointers in GetPtrField{,Pop} (#167335)Timm Baeder
The pointer needs to point to a record. Fixes https://github.com/llvm/llvm-project/issues/166371
2025-11-10[clang][bytecode] Check source pointer for bitcast validity (#166907)Timm Baeder
Unfortunately this is more dynamic than anticipated. Fixes https://github.com/llvm/llvm-project/issues/165006
2025-11-05[clang][bytecode] Check types when loading values (#165385)Timm Baeder
We need to allow BitCasts between pointer types to different prim types, but that means we need to catch the problem at a later stage, i.e. when loading the values. Fixes https://github.com/llvm/llvm-project/issues/158527 Fixes https://github.com/llvm/llvm-project/issues/163778
2025-09-28[clang][bytecode] Diagnose volatile writes (#160350)Timm Baeder
2025-08-26Reapply "[clang][bytecode] Fix incorrect offset in elem() (#155157)" (#155276)Timm Baeder
This reverts commit 9642aadf7064192164d1687378d28d6bda1978c9. Since elem() only works on primitive arrays anyway, we don't have to do the isArrayRoot() check at all.
2025-08-25Revert "[clang][bytecode] Fix incorrect offset in elem() (#155157)"Timm Bäder
This reverts commit 0f4db1a7955e511844d7a685103aa32617fc279d. This breaks the armv8-quick builder: https://lab.llvm.org/buildbot/#/builders/154/builds/20676
2025-08-25[clang][bytecode] Fix incorrect offset in elem() (#155157)Timm Baeder
We need to use the base offset in both cases. Also, add additional assertions to make sure we don't miss this case again. Fixes #155132
2024-09-16[clang][bytecode] Fix reinterpret_casts from pointer to non-pointers (#108811)Timm Baeder
We need to be a little more careful here with whether or nor we are able to do the cast at all or not.
2024-08-24[clang][bytecode][NFC] Move test to verify=expected,both styleTimm Bäder
2024-08-22[clang][bytecode] Fix void unary * operators (#105640)Timm Baeder
Discard the subexpr.
2024-08-16[clang] Rename all AST/Interp stuff to AST/ByteCode (#104552)Timm Baeder
"Interp" clashes with the clang interpreter and people often confuse this.