[all-commits] [llvm/llvm-project] ecbd2d: [clang][ExprConst] Diagnose ptr subs with non-zero...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Apr 17 08:27:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecbd2d5e148cc1f2e5795d13d752e2a1c79cce1a
      https://github.com/llvm/llvm-project/commit/ecbd2d5e148cc1f2e5795d13d752e2a1c79cce1a
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/AST/ByteCode/arrays.cpp
    M clang/test/SemaCXX/constant-expression-cxx11.cpp

  Log Message:
  -----------
  [clang][ExprConst] Diagnose ptr subs with non-zero offset (#135938)

The attached test case was missing the note.



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