[PATCH] D156154: [clang][ConstExprEmitter] handle IntegerLiterals

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 11:50:32 PDT 2023


efriedma added a comment.

We don't completely fall back if a subexpression fails to evaluate.  EmitArrayInitialization etc. don't recursively visit; they use tryEmitPrivateForMemory, so we can fallback for subexpressions.  (tryEmitPrivateForMemory can still fail for certain constructs, like the MaterializeTemporary cases we spent so much time on, but the most common cases should work.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156154



More information about the cfe-commits mailing list