Issue | 145676 |
---|---|
Summary | [C++20] [Modules] [ABI] The linkage of in-class defaulted function |
Labels | new issue |
Assignees | |
Reporter | ChuanqiXu9 |
e.g., ``` export module a; export class A { public: A() = default; ~A() = default; }; ```
I believe we should generate `A::A()` and `A::~A()` in current TU instead of treating them as inline now.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs