1 Commits

Author SHA1 Message Date
Chuanqi Xu
6ceb32a66f [C++20] [Modules] Handle the linkage of defaulted friend function
definition correctly

Close https://github.com/llvm/llvm-project/issues/61067

Previously we will only handle the defaulted member functions as
discardable ODR. But we need to handle defaulted friend function in this
way too. Otherwise we may run into the problems the above issue report
mentions.
2023-03-07 15:34:33 +08:00