llvm-project
01aedf3b - [C++20] [Modules] Load friends for classes in ADL (#219094)

Commit
78 days ago
[C++20] [Modules] Load friends for classes in ADL (#219094) Close https://github.com/llvm/llvm-project/issues/218228 The root cause of the problem is the corresponding friend is not loaded at the point of ADL. This patch tries to fix this simply by loading the friends at the point of ADL. Note that this may be best efficient if there are a lot of friends. We just think it is rare. If it is really possible, we can change the structure of friends from a list to a name lookup table.
Author
Parents
Loading