[all-commits] [llvm/llvm-project] 5b4071: [clang][bytecode] Explicitly truncate in IntegralA...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Oct 17 03:27:06 PDT 2024


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

  Changed paths:
    M clang/lib/AST/ByteCode/Integral.h
    M clang/lib/AST/ByteCode/IntegralAP.h

  Log Message:
  -----------
  [clang][bytecode] Explicitly truncate in IntegralAP::from() (#112683)

Add Integral::toAPInt(), which truncates to the given BitWidth, similar
to the toAPSInt() we already have.



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