[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.
parent
9b1fe564
Please register or sign in to comment