shafik added a comment. I think the relevant change from p1787 <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html> is to dcl.fct.default p4 <https://eel.is/c++draft/dcl.fct.default#4>, specifically:
> ... Declarations that inhabit different scopes have completely distinct sets > of default arguments ... Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139429/new/ https://reviews.llvm.org/D139429 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits