3 Commits

Author SHA1 Message Date
Timm Bäder
193db1ebf0 [clang][Interp][NFC] Make pointer chain management more robust
Add a bunch of assertions to ensure we're doing the right thing. Also,
rename movePointer to replacePointer, since the old name didn't make
much sense.
2023-07-09 16:27:49 +02:00
Timm Bäder
fa1e9c3a5a [clang][Interp][NFC] Add std:: qualifiers to all malloc/free calls 2023-07-09 16:13:19 +02:00
Fangrui Song
e4df934ca7 [Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}
The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, more friendly when navigating files in
an editor, etc).

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D74934
2020-02-21 09:47:28 -08:00