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

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 01:59:26 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.
----------------
tbaederr wrote:

The comment still fits, we're just checking one of the pointer types above.

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


More information about the cfe-commits mailing list