[all-commits] [llvm/llvm-project] 8feb08: [clang][Interp] Consider bit width in IntegralAP::...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Nov 8 22:47:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8feb0830cb5c731a34dc74ff6f0c1c4702bc4734
      https://github.com/llvm/llvm-project/commit/8feb0830cb5c731a34dc74ff6f0c1c4702bc4734
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M clang/lib/AST/Interp/IntegralAP.h
    M clang/test/AST/Interp/intap.cpp

  Log Message:
  -----------
  [clang][Interp] Consider bit width in IntegralAP::toAPSInt() (#71646)

In `Interp.h`, when a add/sub/mul fails, we call this code and expect to
get an `APSInt` back that can handle more than the current bitwidth of
the type.




More information about the All-commits mailing list