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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits