[clang] [clang][bytecode] Check types when loading values (PR #165385)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 9 21:10:39 PST 2025


================
@@ -101,6 +101,7 @@ inline constexpr bool isSignedType(PrimType T) {
 
 enum class CastKind : uint8_t {
   Reinterpret,
+  ReinterpretLike,
----------------
tbaederr wrote:

It means "cast that performs the conversions of a reinterpret_cast" but isn't one explicitly.

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


More information about the cfe-commits mailing list