[C++20] [Modules] Fix a crash when instantiate hidden friends
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 3 Jan 2023 05:35:45 +0000 (13:35 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 3 Jan 2023 05:37:57 +0000 (13:37 +0800)
commitd0ce367a97137e6c2b28f1e18988fd7888bcea0a
tree95ef12279c3ca9aef3c9b52ac38341e66df5f326
parent7df1da08ff9229c12884b408b0f614b8f20d6d5a
[C++20] [Modules] Fix a crash when instantiate hidden friends

Closes https://github.com/llvm/llvm-project/issues/54457.

This removes a FIXME we found previously. But we didn't remove the FIXME
that time due to the lack of the corresponding test. And now we found
the corresponding test so we can remove it.
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/Modules/pr54457.cppm [new file with mode: 0644]