[PATCH] D76096: [clang] allow const structs to be constant expressions for C

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 11:56:50 PDT 2023


nickdesaulniers updated this revision to Diff 542627.
nickdesaulniers retitled this revision from "[clang] allow const structs to be constant expressions in initializer lists" to "[clang] allow const structs to be constant expressions for C".
nickdesaulniers edited the summary of this revision.
nickdesaulniers added a comment.

- rebase onto D151587 <https://reviews.llvm.org/D151587>
- replace my impl with D76169 <https://reviews.llvm.org/D76169>
- update description


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76096/new/

https://reviews.llvm.org/D76096

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/AST/ExprConstant.cpp
  clang/test/CodeGen/builtin-constant-p.c
  clang/test/CodeGen/const-init.c
  clang/test/Sema/builtins.c
  clang/test/Sema/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76096.542627.patch
Type: text/x-patch
Size: 5795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230720/f6eedd04/attachment-0001.bin>


More information about the cfe-commits mailing list