[all-commits] [llvm/llvm-project] 6ceb32: [C++20] [Modules] Handle the linkage of defaulted ...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Mar 6 23:34:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ceb32a66fb429b1e6880b723c4f0103f00e6dbd
https://github.com/llvm/llvm-project/commit/6ceb32a66fb429b1e6880b723c4f0103f00e6dbd
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M clang/lib/AST/ASTContext.cpp
A clang/test/Modules/pr61067.cppm
Log Message:
-----------
[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.
More information about the All-commits
mailing list