[all-commits] [llvm/llvm-project] 56dab2: [clang][Interp] Fix truncateCast() (#69911)

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Oct 30 08:28:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56dab2cb0733f10df4e9cff8c83dd7081154527b
      https://github.com/llvm/llvm-project/commit/56dab2cb0733f10df4e9cff8c83dd7081154527b
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

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

  Log Message:
  -----------
  [clang][Interp] Fix truncateCast() (#69911)

The added test case used to fail because we converted the LHS to `-1`.




More information about the All-commits mailing list