[clang] [clang][Interp] Integral pointers (PR #84159)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 23:14:28 PDT 2024
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84159 at github.com>
================
@@ -28,11 +28,26 @@ class Block;
class DeadBlock;
class Pointer;
class Context;
+template <unsigned A, bool B> class Integral;
enum PrimType : unsigned;
class Pointer;
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Pointer &P);
+struct BlockPointer {
----------------
tbaederr wrote:
I don't have that problem but I could imaging renaming to `MemoryPointer` or something similar - we do have a `interp::Block` class though, so the name `BlockPointer` makes sense in the context. Not sure what I would rename `Block` to.
https://github.com/llvm/llvm-project/pull/84159
More information about the cfe-commits
mailing list