[all-commits] [llvm/llvm-project] 6a9932: [clang] Consistently handle consteval constructors...

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Jul 8 14:47:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a993264ee0105da32a6a57fb077796076cf6bf4
      https://github.com/llvm/llvm-project/commit/6a993264ee0105da32a6a57fb077796076cf6bf4
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp

  Log Message:
  -----------
  [clang] Consistently handle consteval constructors for variables. (#144970)

443377a9d1a8d4a69a317a1a892184c59dd0aec6 handled simple variable
definitions, but it didn't handle uninitialized variables with a
consteval constructor, and it didn't handle template instantiation.

Fixes #135281 .



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