[all-commits] [llvm/llvm-project] 2ebe47: [Clang] Disallow non-lvalue values in constant exp...

Oleksandr T. via All-commits all-commits at lists.llvm.org
Mon Jun 17 10:29:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ebe4794b1bdb3519d5dda7ef39f32d868dfa9b0
      https://github.com/llvm/llvm-project/commit/2ebe4794b1bdb3519d5dda7ef39f32d868dfa9b0
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    A clang/test/Sema/integral-to-ptr.c

  Log Message:
  -----------
  [Clang] Disallow non-lvalue values in constant expressions to prevent invalid pointer offset computation (#95479)

Fixes #95366



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