[all-commits] [llvm/llvm-project] c4e9e4: [Clang] Ensure ``if consteval`` consititute an imm...

cor3ntin via All-commits all-commits at lists.llvm.org
Mon May 13 07:04:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4e9e41199127bb288e84e9477da99f28941edb3
      https://github.com/llvm/llvm-project/commit/c4e9e41199127bb288e84e9477da99f28941edb3
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp

  Log Message:
  -----------
  [Clang] Ensure ``if consteval`` consititute an immediate function context (#91939)

We did not set the correct evaluation context for the compound statement
of an ``if consteval`` statement
in a templated entity in TreeTransform.

Fixes #91509



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