[PATCH] D131194: [C++20] Fix crash-on-valid with consteval temporary construction through list initialization
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 4 12:55:38 PDT 2022
efriedma added a comment.
Instead of trying to dig through subexpressions of the ConstantExpr to try to infer the type we need, can we just compute it directly?
QualType RetType = CE->getType();
RetType = CGM.getContext().getLValueReferenceType(RetType);
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits