[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
Fri Jul 21 14:47:04 PDT 2023


nickdesaulniers added a comment.

In D76096#4523828 <https://reviews.llvm.org/D76096#4523828>, @efriedma wrote:

> The idea would be looking for places we EvaluateAsRValue an array or struct.  Not sure what that stack trace represents.

Perhaps you mean calling `EvaluateAsRValue` with a `InitListExpr`?  I assume your concern is evaluating the (potentially large) init list?


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