[all-commits] [llvm/llvm-project] cffe7c: [clang] Fix isConstantInitializer handling of tran...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Sun Jul 13 16:03:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cffe7cb745a1d18508b620c5e6d339fe51b8f9bf
https://github.com/llvm/llvm-project/commit/cffe7cb745a1d18508b620c5e6d339fe51b8f9bf
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2025-07-13 (Sun, 13 Jul 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Expr.cpp
M clang/test/CodeGenCXX/const-init-cxx11.cpp
M clang/test/SemaCXX/compound-literal.cpp
Log Message:
-----------
[clang] Fix isConstantInitializer handling of transparent init lists. (#148030)
Transparent InitListExprs have different semantics, so special-case them
in Expr::isConstantInitializer.
We probably should move away from isConstantInitializer, in favor of
relying more directly on constant evaluation, but this is an easy fix.
Fixes #147949
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