[PATCH] D155955: [Clang] Improve the handling of large arrays evaluation.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 16:48:44 PDT 2023


efriedma added a comment.

The general approach seems fine.  The multiplier for constexpr vs. constant folding can be left for a followup, and we can continue to consider other possible improvements elsewhere.

I guess I have one remaining question here: how does this interact with SFINAE?  In other words, if we hit the limit analyzing the signature of a function, do we print an error, or silently remove the function from the overload list?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155955



More information about the cfe-commits mailing list