[all-commits] [llvm/llvm-project] e637a5: [clang][bytecode] Only allow lossless ptr-to-int c...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Oct 9 08:13:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e637a5c9fef866158018dcaecc3c385d157460f5
      https://github.com/llvm/llvm-project/commit/e637a5c9fef866158018dcaecc3c385d157460f5
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

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

  Log Message:
  -----------
  [clang][bytecode] Only allow lossless ptr-to-int casts (#111669)

Only allow those casts if the bitwidth of the two types match.



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