[PATCH] D76096: [clang] allow const structs/unions/arrays to be constant expressions for C
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 1 14:29:27 PDT 2023
nickdesaulniers added inline comments.
================
Comment at: clang/docs/ReleaseNotes.rst:74-76
+- ``structs``, ``unions``, and ``arrays`` that are const may now be used as
+ constant expressions. This change is more consistent with the behavior of
+ GCC.
----------------
Note to self:
If this lands in time to be backported to release/17.x (as I've tagged https://github.com/llvm/llvm-project/issues/44502 to that milestone), I'll need to rebase this patch and post to a branch as the result of:
https://discourse.llvm.org/t/llvm-17-x-release-notes-update/72292
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76096/new/
https://reviews.llvm.org/D76096
More information about the cfe-commits
mailing list