[clang] [clang][Interp] Integral pointers (PR #84159)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 09:45:50 PST 2024


Timm =?utf-8?q?B=C3=A4der?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84159 at github.com>


================
@@ -123,8 +167,9 @@ APValue Pointer::toAPValue() const {
         Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual}));
         Ptr = Ptr.getBase();
         continue;
+
+        llvm_unreachable("Invalid field type");
----------------
tbaederr wrote:

It does have _some_ use in its old place.

https://github.com/llvm/llvm-project/pull/84159


More information about the cfe-commits mailing list