[PATCH] D136554: Implement CWG2631
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 4 16:14:13 PDT 2022
dblaikie added subscribers: rsmith, dblaikie.
dblaikie added a comment.
fwiw, @rsmith came up with a crasher reproducer from this patch here:
template<typename T> struct F {
template<typename U> F(const U&) {}
};
struct A {
static constexpr auto x = [] {};
F<int> f = x;
};
void f(A a = A()) { }
int main() {
f();
This was still failing at52ffc728181bc2d3c889f7f80c252c3433b9e7b6 immediately prior to the revert.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136554/new/
https://reviews.llvm.org/D136554
More information about the cfe-commits
mailing list