================
@@ -1024,7 +1024,7 @@ bool CheckLoad(InterpState &S, CodePtr OpPC, const 
Pointer &Ptr,
   }
 
   // Block and string pointers are the only ones we can actually read from.
----------------
ChenMiaoi wrote:

Should we update the comment as well? Block pointers have already been handled 
above, so this check now only concerns string pointers.

https://github.com/llvm/llvm-project/pull/233360
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to