[all-commits] [llvm/llvm-project] bc5e47: [clang][bytecode] Check pointer types in ::toRValu...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jun 30 05:45:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc5e47fb75c383ed6b27aa082a0114934d6bfbbe
      https://github.com/llvm/llvm-project/commit/bc5e47fb75c383ed6b27aa082a0114934d6bfbbe
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/test/AST/ByteCode/codegen.cpp

  Log Message:
  -----------
  [clang][bytecode] Check pointer types in ::toRValue() (#206712)

Now that we let more reinterpret_casts through, we need to check we have
the proper type here, too. We already did that for some of the types but
not for records and arrays.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list