Commit 6ceb32a6 authored by Chuanqi Xu's avatar Chuanqi Xu
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment