================
@@ -145,7 +153,11 @@ class Pointer {
return Int.Value + (Offset * elemSize());
if (isFunctionPointer())
return Fn.getIntegerRepresentation() + Offset;
- return reinterpret_cast<uint64_t>(BS.Pointee) + Offset;
+ if (isDegenPointer())
----------------
shafik wrote:
I am wondering why the degenerate case is not last, I would think that would be
the least common result.
https://github.com/llvm/llvm-project/pull/160086
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits