[all-commits] [llvm/llvm-project] c9637a: [Clang] Fix createConstexprUnknownAPValues to use ...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Sun Jan 26 15:06:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9637afec7ed72904c74c2fc71e990d378f3d7a6
      https://github.com/llvm/llvm-project/commit/c9637afec7ed72904c74c2fc71e990d378f3d7a6
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-01-26 (Sun, 26 Jan 2025)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  -----------
  [Clang] Fix createConstexprUnknownAPValues to use zero offset when ceating APValue (#124478)

When implmenting P2280R4 here:
https://github.com/llvm/llvm-project/pull/95474

When creating the APValue to store and constexprUnknown value I used an
offset of CharUnits::One() but it should have been CharUnits::Zero().

This change just adjusts that value.



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