Fix crash in BuildCXXDefaultInitExpr when member of template class has same name as the class itself.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
lgtm
| test/SemaCXX/pr27047-default-init-expr-name-conflict.cpp | ||
|---|---|---|
| 6 | More reduced: template <typename T> struct A { int A = 0; };
A<int> a; | |
More reduced:
template <typename T> struct A { int A = 0; }; A<int> a;