[clang] [clang][bytecode][NFC] Make string pointer check more explicit (PR #233360)

Chen Miao via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 01:47:00 PDT 2026


================
@@ -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


More information about the cfe-commits mailing list